| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.cache | |
| com.orbitz.consul.option |
| Modifier and Type | Method and Description |
|---|---|
ConsulResponse<List<ServiceHealth>> |
HealthClient.getAllServiceInstances(String service,
CatalogOptions catalogOptions)
Retrieves the healthchecks for all nodes in a given datacenter.
|
ConsulResponse<List<ServiceHealth>> |
HealthClient.getAllServiceInstances(String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for all nodes in a given datacenter with
QueryOptions. |
void |
HealthClient.getAllServiceInstances(String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<List<ServiceHealth>> callback)
Asynchronously retrieves the healthchecks for all nodes in a given
datacenter with
QueryOptions. |
ConsulResponse<List<HealthCheck>> |
HealthClient.getChecksByState(State state,
CatalogOptions catalogOptions)
Retrieves the healthchecks for a state in a given datacenter.
|
ConsulResponse<List<HealthCheck>> |
HealthClient.getChecksByState(State state,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for a state in a given datacenter with
QueryOptions. |
ConsulResponse<List<ServiceHealth>> |
HealthClient.getHealthyServiceInstances(String service,
CatalogOptions catalogOptions)
Retrieves the healthchecks for all healthy service instances in a given datacenter.
|
ConsulResponse<List<ServiceHealth>> |
HealthClient.getHealthyServiceInstances(String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for all healthy service instances in a given datacenter with
QueryOptions. |
void |
HealthClient.getHealthyServiceInstances(String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<List<ServiceHealth>> callback)
Asynchronously retrieves the healthchecks for all healthy service instances in a given
datacenter with
QueryOptions. |
ConsulResponse<CatalogNode> |
CatalogClient.getNode(String node,
CatalogOptions catalogOptions)
Retrieves a single node for a given datacenter.
|
ConsulResponse<CatalogNode> |
CatalogClient.getNode(String node,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves a single node for a given datacenter with
QueryOptions. |
ConsulResponse<List<HealthCheck>> |
HealthClient.getNodeChecks(String node,
CatalogOptions catalogOptions)
Retrieves the healthchecks for a node in a given datacenter.
|
ConsulResponse<List<HealthCheck>> |
HealthClient.getNodeChecks(String node,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for a node in a given datacenter with
QueryOptions. |
ConsulResponse<List<Node>> |
CatalogClient.getNodes(CatalogOptions catalogOptions)
Retrieves all nodes for a given datacenter.
|
ConsulResponse<List<Node>> |
CatalogClient.getNodes(CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves all nodes for a given datacenter with
QueryOptions. |
ConsulResponse<List<CatalogService>> |
CatalogClient.getService(String service,
CatalogOptions catalogOptions)
Retrieves a single service for a given datacenter.
|
ConsulResponse<List<CatalogService>> |
CatalogClient.getService(String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves a single service for a given datacenter with
QueryOptions. |
ConsulResponse<List<HealthCheck>> |
HealthClient.getServiceChecks(String service,
CatalogOptions catalogOptions)
Retrieves the healthchecks for a service in a given datacenter.
|
ConsulResponse<List<HealthCheck>> |
HealthClient.getServiceChecks(String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for a service in a given datacenter with
QueryOptions. |
void |
HealthClient.getServiceChecks(String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<List<HealthCheck>> callback)
Asynchronously retrieves the healthchecks for a service in a given
datacenter with
QueryOptions. |
ConsulResponse<Map<String,List<String>>> |
CatalogClient.getServices(CatalogOptions catalogOptions)
Retrieves all services for a given datacenter.
|
ConsulResponse<Map<String,List<String>>> |
CatalogClient.getServices(CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves all services for a given datacenter with
QueryOptions. |
| Modifier and Type | Method and Description |
|---|---|
static ServiceHealthCache |
ServiceHealthCache.newCache(HealthClient healthClient,
String serviceName,
boolean passing,
CatalogOptions catalogOptions,
int watchSeconds)
Factory method to construct a string/
ServiceHealth map for a particular service. |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableCatalogOptions
Immutable implementation of
CatalogOptions. |
| Modifier and Type | Field and Description |
|---|---|
static CatalogOptions |
CatalogOptions.BLANK |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCatalogOptions |
ImmutableCatalogOptions.copyOf(CatalogOptions instance)
Creates an immutable copy of a
CatalogOptions value. |
ImmutableCatalogOptions.Builder |
ImmutableCatalogOptions.Builder.from(CatalogOptions instance)
Fill a builder with attribute values from the provided
CatalogOptions instance. |
Copyright © 2016. All rights reserved.