Maximo API Client - v0.9.01
    Preparing search index...

    Class CacheService

    Singleton service for Maximo cache management operations Implements endpoints from the Caching section of Maximo REST API

    Usage: const client = new MaximoClient(config); await client.authenticate();

    await CacheService.refreshCache('MAXPROP'); await CacheService.refreshMaxConditionCache();

    Index

    Methods

    • Initializes the CacheService singleton with HttpClient This is called automatically by MaximoClient during construction

      Parameters

      • httpClient: HttpClient

        The HttpClient instance to use for API requests

      Returns void

    • Refreshes the specified cache or all caches if no name is provided

      Parameters

      • cacheName: string = ''

        The name of the cache to refresh. If omitted or empty, all caches will be refreshed.

      Returns Promise<any[]>

    • Refreshes the MaxConditionCache specifically

      Returns Promise<any[]>