| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.cache | |
| com.orbitz.consul.model.health | |
| com.orbitz.consul.model.query |
| Modifier and Type | Method and Description |
|---|---|
Map<String,HealthCheck> |
AgentClient.getChecks()
Retrieves all checks registered with the Agent.
|
ConsulResponse<List<HealthCheck>> |
HealthClient.getChecksByState(State state)
Retrieves the healthchecks for a state.
|
ConsulResponse<List<HealthCheck>> |
HealthClient.getChecksByState(State state,
QueryOptions queryOptions)
Retrieves the healthchecks for a state in a given datacenter with
QueryOptions. |
ConsulResponse<List<HealthCheck>> |
HealthClient.getNodeChecks(String node)
Retrieves the healthchecks for a node.
|
ConsulResponse<List<HealthCheck>> |
HealthClient.getNodeChecks(String node,
QueryOptions queryOptions)
Retrieves the healthchecks for a node in a given datacenter with
QueryOptions. |
ConsulResponse<List<HealthCheck>> |
HealthClient.getServiceChecks(String service)
Retrieves the healthchecks for a service.
|
ConsulResponse<List<HealthCheck>> |
HealthClient.getServiceChecks(String service,
QueryOptions queryOptions)
Retrieves the healthchecks for a service in a given datacenter with
QueryOptions. |
| Modifier and Type | Method and Description |
|---|---|
void |
HealthClient.getChecksByState(State state,
QueryOptions queryOptions,
ConsulResponseCallback<List<HealthCheck>> callback)
Asynchronously retrieves the healthchecks for a state in a given datacenter with
QueryOptions. |
void |
HealthClient.getServiceChecks(String service,
QueryOptions queryOptions,
ConsulResponseCallback<List<HealthCheck>> callback)
Asynchronously retrieves the healthchecks for a service in a given
datacenter with
QueryOptions. |
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckCache |
HealthCheckCache.newCache(HealthClient healthClient,
State state,
int watchSeconds,
QueryOptions queryOptions,
Function<HealthCheck,String> keyExtractor)
Factory method to construct a string/
HealthCheck map for a particular State. |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableHealthCheck
Immutable implementation of
HealthCheck. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<HealthCheck> |
ImmutableServiceCheck.getChecks() |
com.google.common.collect.ImmutableList<HealthCheck> |
ImmutableServiceHealth.getChecks() |
abstract List<HealthCheck> |
ServiceCheck.getChecks() |
abstract List<HealthCheck> |
ServiceHealth.getChecks() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableServiceCheck.Builder |
ImmutableServiceCheck.Builder.addChecks(HealthCheck... elements)
Adds elements to
checks list. |
ImmutableServiceHealth.Builder |
ImmutableServiceHealth.Builder.addChecks(HealthCheck... elements)
Adds elements to
checks list. |
ImmutableServiceCheck.Builder |
ImmutableServiceCheck.Builder.addChecks(HealthCheck element)
Adds one element to
checks list. |
ImmutableServiceHealth.Builder |
ImmutableServiceHealth.Builder.addChecks(HealthCheck element)
Adds one element to
checks list. |
static ImmutableHealthCheck |
ImmutableHealthCheck.copyOf(HealthCheck instance)
Creates an immutable copy of a
HealthCheck value. |
ImmutableHealthCheck.Builder |
ImmutableHealthCheck.Builder.from(HealthCheck instance)
Fill a builder with attribute values from the provided
HealthCheck instance. |
ImmutableServiceCheck |
ImmutableServiceCheck.withChecks(HealthCheck... elements)
Copy the current immutable object with elements that replace the content of
checks. |
ImmutableServiceHealth |
ImmutableServiceHealth.withChecks(HealthCheck... elements)
Copy the current immutable object with elements that replace the content of
checks. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableServiceCheck.Builder |
ImmutableServiceCheck.Builder.addAllChecks(Iterable<? extends HealthCheck> elements)
Adds elements to
checks list. |
ImmutableServiceHealth.Builder |
ImmutableServiceHealth.Builder.addAllChecks(Iterable<? extends HealthCheck> elements)
Adds elements to
checks list. |
ImmutableServiceCheck.Builder |
ImmutableServiceCheck.Builder.checks(Iterable<? extends HealthCheck> elements)
Sets or replaces all elements for
checks list. |
ImmutableServiceHealth.Builder |
ImmutableServiceHealth.Builder.checks(Iterable<? extends HealthCheck> elements)
Sets or replaces all elements for
checks list. |
ImmutableServiceCheck |
ImmutableServiceCheck.withChecks(Iterable<? extends HealthCheck> elements)
Copy the current immutable object with elements that replace the content of
checks. |
ImmutableServiceHealth |
ImmutableServiceHealth.withChecks(Iterable<? extends HealthCheck> elements)
Copy the current immutable object with elements that replace the content of
checks. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<HealthCheck> |
ImmutableQueryResult.getChecks() |
abstract List<HealthCheck> |
QueryResult.getChecks() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableQueryResult.Builder |
ImmutableQueryResult.Builder.addChecks(HealthCheck... elements)
Adds elements to
checks list. |
ImmutableQueryResult.Builder |
ImmutableQueryResult.Builder.addChecks(HealthCheck element)
Adds one element to
checks list. |
ImmutableQueryResult |
ImmutableQueryResult.withChecks(HealthCheck... elements)
Copy the current immutable object with elements that replace the content of
checks. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableQueryResult.Builder |
ImmutableQueryResult.Builder.addAllChecks(Iterable<? extends HealthCheck> elements)
Adds elements to
checks list. |
ImmutableQueryResult.Builder |
ImmutableQueryResult.Builder.checks(Iterable<? extends HealthCheck> elements)
Sets or replaces all elements for
checks list. |
ImmutableQueryResult |
ImmutableQueryResult.withChecks(Iterable<? extends HealthCheck> elements)
Copy the current immutable object with elements that replace the content of
checks. |
Copyright © 2019. All rights reserved.