import { AppContext } from '../../data/app-context'; import { SharedCache, SharedCacheOptions } from '../shared-cache'; import { ClusterInventory, ClusterInventoryData, ClusterInventoryParams } from './cluster-inventory'; /** * Cluster Inventory cache class. */ export declare class ClusterInventoryCache extends SharedCache { private appContext; private static uniqueId; private static uniqueVersion; private serverInventoryCache; /** * Initializes a new instance of the ClusterInventoryCache class. * * @param appContext the app context. * @param options the option of shared cache. */ constructor(appContext: AppContext, options?: SharedCacheOptions); /** * Defines how to identify the cache entry by params. * * @param params the server inventory query params. * @return the id string. */ private dataInstanceId; /** * Defines how to deserialize the class object from serialized data. * * @param serialized the serialized string; */ private dataDeserialize; /** * Defines how to serialize the class object to serialized data. * * @param instance the class instance. */ private dataSerialize; /** * Defines how to collect the cluster inventory data. * * @param params the server inventory query params. * @return the Observable of ClusterInventory data. */ private dataQuery; /** * Defines how to collect the cluster node-server inventory data. * @param clusterInventory the initial cluster inventory query params. * @param params the parameters for cluster inventory query. * @return Observable the Observable of ClusterInventory data. */ private queryClusterNodeInventories; }