| Package | Description |
|---|---|
| com.orbitz.consul.cache |
| Modifier and Type | Method and Description |
|---|---|
static ServiceHealthCache |
ServiceHealthCache.newCache(HealthClient healthClient,
String serviceName) |
static ServiceHealthCache |
ServiceHealthCache.newCache(HealthClient healthClient,
String serviceName,
boolean passing,
int watchSeconds,
QueryOptions queryOptions) |
static ServiceHealthCache |
ServiceHealthCache.newCache(HealthClient healthClient,
String serviceName,
boolean passing,
int watchSeconds,
QueryOptions queryOptions,
Function<ServiceHealth,ServiceHealthKey> keyExtractor) |
static ServiceHealthCache |
ServiceHealthCache.newCache(HealthClient healthClient,
String serviceName,
boolean passing,
int watchSeconds,
QueryOptions queryOptions,
Function<ServiceHealth,ServiceHealthKey> keyExtractor,
ScheduledExecutorService callbackExecutorService)
Factory method to construct a string/
ServiceHealth map for a particular service. |
static ServiceHealthCache |
ServiceHealthCache.newCache(HealthClient healthClient,
String serviceName,
boolean passing,
QueryOptions queryOptions,
int watchSeconds) |
Copyright © 2019. All rights reserved.