Package org.kiwiproject.consul.cache
Class NodesCatalogCache
java.lang.Object
org.kiwiproject.consul.cache.ConsulCache<String,Node>
org.kiwiproject.consul.cache.NodesCatalogCache
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kiwiproject.consul.cache.ConsulCache
ConsulCache.CallbackConsumer<V>, ConsulCache.Listener<K,V>, ConsulCache.Scheduler, ConsulCache.State -
Method Summary
Modifier and TypeMethodDescriptionstatic NodesCatalogCachenewCache(CatalogClient catalogClient) static NodesCatalogCachenewCache(CatalogClient catalogClient, QueryOptions queryOptions, int watchSeconds) static NodesCatalogCachenewCache(CatalogClient catalogClient, QueryOptions queryOptions, int watchSeconds, ScheduledExecutorService callbackExecutorService) Methods inherited from class org.kiwiproject.consul.cache.ConsulCache
addListener, awaitInitialized, checkWatch, close, createDefault, createExternal, getListeners, getMap, getMapWithMetadata, getState, removeListener, start, stop, watchParams
-
Method Details
-
newCache
public static NodesCatalogCache newCache(CatalogClient catalogClient, QueryOptions queryOptions, int watchSeconds, ScheduledExecutorService callbackExecutorService) -
newCache
public static NodesCatalogCache newCache(CatalogClient catalogClient, QueryOptions queryOptions, int watchSeconds) -
newCache
-