| Package | Description |
|---|---|
| com.orbitz.consul.cache |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableServiceHealthKey
Immutable implementation of
ServiceHealthKey. |
| Modifier and Type | Method and Description |
|---|---|
static ServiceHealthKey |
ServiceHealthKey.fromServiceHealth(ServiceHealth serviceHealth) |
static ServiceHealthKey |
ServiceHealthKey.of(String serviceId,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableServiceHealthKey |
ImmutableServiceHealthKey.copyOf(ServiceHealthKey instance)
Creates an immutable copy of a
ServiceHealthKey value. |
ImmutableServiceHealthKey.Builder |
ImmutableServiceHealthKey.Builder.from(ServiceHealthKey instance)
Fill a builder with attribute values from the provided
ServiceHealthKey instance. |
| Modifier and Type | Method and Description |
|---|---|
static ServiceHealthCache |
ServiceHealthCache.newCache(HealthClient healthClient,
String serviceName,
boolean passing,
int watchSeconds,
QueryOptions queryOptions,
Function<ServiceHealth,ServiceHealthKey> keyExtractor)
Factory method to construct a string/
ServiceHealth map for a particular service. |
Copyright © 2018. All rights reserved.