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