| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.cache |
| Modifier and Type | Method and Description |
|---|---|
HealthClient |
Consul.healthClient()
Get the Health HTTP client.
|
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckCache |
HealthCheckCache.newCache(HealthClient healthClient,
State state) |
static HealthCheckCache |
HealthCheckCache.newCache(HealthClient healthClient,
State state,
int watchSeconds) |
static HealthCheckCache |
HealthCheckCache.newCache(HealthClient healthClient,
State state,
int watchSeconds,
QueryOptions queryOptions) |
static HealthCheckCache |
HealthCheckCache.newCache(HealthClient healthClient,
State state,
int watchSeconds,
QueryOptions queryOptions,
Function<HealthCheck,String> keyExtractor) |
static HealthCheckCache |
HealthCheckCache.newCache(HealthClient healthClient,
State state,
int watchSeconds,
QueryOptions queryOptions,
Function<HealthCheck,String> keyExtractor,
ScheduledExecutorService callbackExecutorService)
Factory method to construct a string/
HealthCheck map for a particular State. |
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.