public class NodesCatalogCache extends ConsulCache<String,Node>
ConsulCache.CallbackConsumer<V>, ConsulCache.Listener<K,V>, ConsulCache.Scheduler| Modifier and Type | Method and Description |
|---|---|
static NodesCatalogCache |
newCache(CatalogClient catalogClient) |
static NodesCatalogCache |
newCache(CatalogClient catalogClient,
QueryOptions queryOptions,
int watchSeconds) |
static NodesCatalogCache |
newCache(CatalogClient catalogClient,
QueryOptions queryOptions,
int watchSeconds,
ScheduledExecutorService callbackExecutorService) |
addListener, awaitInitialized, close, createDefault, createExternal, getListeners, getMap, getMapWithMetadata, getState, removeListener, start, stop, watchParamspublic static NodesCatalogCache newCache(CatalogClient catalogClient, QueryOptions queryOptions, int watchSeconds, ScheduledExecutorService callbackExecutorService)
public static NodesCatalogCache newCache(CatalogClient catalogClient, QueryOptions queryOptions, int watchSeconds)
public static NodesCatalogCache newCache(CatalogClient catalogClient)
Copyright © 2019. All rights reserved.