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