| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.async | |
| com.orbitz.consul.cache | |
| com.orbitz.consul.util |
| Modifier and Type | Method and Description |
|---|---|
ConsulResponse<List<ServiceHealth>> |
HealthClient.getAllServiceInstances(String service)
Retrieves the healthchecks for all nodes.
|
ConsulResponse<List<ServiceHealth>> |
HealthClient.getAllServiceInstances(String service,
QueryOptions queryOptions)
Retrieves the healthchecks for all nodes in a given datacenter with
QueryOptions. |
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<Value>> |
KeyValueClient.getConsulResponseWithValues(String key)
Retrieves a
ConsulResponse with a list of Value objects along with
consul response headers for a specific key from the key/value store. |
ConsulResponse<List<Value>> |
KeyValueClient.getConsulResponseWithValues(String key,
QueryOptions queryOptions)
Retrieves a
ConsulResponse with a list of Value objects along with
consul response headers for a specific key from the key/value store. |
ConsulResponse<List<ServiceHealth>> |
HealthClient.getHealthyServiceInstances(String service)
Retrieves the healthchecks for all healthy service instances.
|
ConsulResponse<List<ServiceHealth>> |
HealthClient.getHealthyServiceInstances(String service,
QueryOptions queryOptions)
Retrieves the healthchecks for all healthy service instances in a given datacenter with
QueryOptions. |
ConsulResponse<CatalogNode> |
CatalogClient.getNode(String node)
Retrieves a single node.
|
ConsulResponse<CatalogNode> |
CatalogClient.getNode(String node,
QueryOptions queryOptions)
Retrieves a single node for 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<Node>> |
CatalogClient.getNodes()
Retrieves all nodes.
|
ConsulResponse<List<Node>> |
CatalogClient.getNodes(QueryOptions queryOptions)
Retrieves all nodes for a given datacenter with
QueryOptions. |
ConsulResponse<List<CatalogService>> |
CatalogClient.getService(String service)
Retrieves a single service.
|
ConsulResponse<List<CatalogService>> |
CatalogClient.getService(String service,
QueryOptions queryOptions)
Retrieves a single service for 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. |
ConsulResponse<Map<String,List<String>>> |
CatalogClient.getServices()
Retrieves all services for a given datacenter.
|
ConsulResponse<Map<String,List<String>>> |
CatalogClient.getServices(QueryOptions queryOptions)
Retrieves all services for a given datacenter.
|
ConsulResponse<TxResponse> |
KeyValueClient.performTransaction(ConsistencyMode consistency,
Operation... operations)
Deprecated.
|
ConsulResponse<TxResponse> |
KeyValueClient.performTransaction(Operation... operations)
Performs a Consul transaction.
|
ConsulResponse<TxResponse> |
KeyValueClient.performTransaction(TransactionOptions transactionOptions,
Operation... operations)
Performs a Consul transaction.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ConsulResponse<Value>> |
KeyValueClient.getConsulResponseWithValue(String key)
Retrieves a
ConsulResponse with the
Value for a spefici key from the
key/value store |
Optional<ConsulResponse<Value>> |
KeyValueClient.getConsulResponseWithValue(String key,
QueryOptions queryOptions)
Returns a
ConsulResponse for a specific key from the kv store. |
| Modifier and Type | Method and Description |
|---|---|
void |
ConsulResponseCallback.onComplete(ConsulResponse<T> consulResponse)
Callback for a successful
ConsulResponse. |
| Modifier and Type | Method and Description |
|---|---|
ConsulResponse<com.google.common.collect.ImmutableMap<K,V>> |
ConsulCache.getMapWithMetadata() |
| Modifier and Type | Method and Description |
|---|---|
<T> ConsulResponse<T> |
Http.extractConsulResponse(retrofit2.Call<T> call,
Integer... okCodes) |
Copyright © 2018. All rights reserved.