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