| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.cache | |
| com.orbitz.consul.option |
| Modifier and Type | Method and Description |
|---|---|
void |
PreparedQueryClient.execute(String nameOrId,
QueryOptions options,
Callback<QueryResults> callback)
Executes a prepared query by its name or ID.
|
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<ServiceHealth>> |
HealthClient.getAllServiceInstances(String service,
QueryOptions queryOptions)
Retrieves the healthchecks for all nodes with
QueryOptions. |
void |
HealthClient.getAllServiceInstances(String service,
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,
QueryOptions queryOptions)
Retrieves the healthchecks for a state in a given datacenter with
QueryOptions. |
ConsulResponse<List<HealthCheck>> |
HealthClient.getChecksByState(State state,
QueryOptions queryOptions)
Retrieves the healthchecks for a state with
QueryOptions. |
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<List<ServiceHealth>> |
HealthClient.getHealthyServiceInstances(String service,
QueryOptions queryOptions)
Retrieves the healthchecks for all healthy service instances with
QueryOptions. |
void |
HealthClient.getHealthyServiceInstances(String service,
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,
QueryOptions queryOptions)
Retrieves a single node for a given datacenter with
QueryOptions. |
ConsulResponse<CatalogNode> |
CatalogClient.getNode(String node,
QueryOptions queryOptions)
Retrieves a single node with
QueryOptions. |
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<HealthCheck>> |
HealthClient.getNodeChecks(String node,
QueryOptions queryOptions)
Retrieves the healthchecks for a node with
QueryOptions. |
ConsulResponse<List<Node>> |
CatalogClient.getNodes(CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves all nodes for a given datacenter with
QueryOptions. |
ConsulResponse<List<Node>> |
CatalogClient.getNodes(QueryOptions queryOptions)
Retrieves all nodes with
QueryOptions. |
ConsulResponse<List<CatalogService>> |
CatalogClient.getService(String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves a single service for a given datacenter with
QueryOptions. |
ConsulResponse<List<CatalogService>> |
CatalogClient.getService(String service,
QueryOptions queryOptions)
Retrieves a single service with
QueryOptions. |
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<List<HealthCheck>> |
HealthClient.getServiceChecks(String service,
QueryOptions queryOptions)
Retrieves the healthchecks for a service 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. |
ConsulResponse<Map<String,List<String>>> |
CatalogClient.getServices(CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves all services for a given datacenter with
QueryOptions. |
ConsulResponse<Map<String,List<String>>> |
CatalogClient.getServices(QueryOptions queryOptions)
Retrieves all services for a given datacenter with
QueryOptions. |
com.google.common.base.Optional<Value> |
KeyValueClient.getValue(String key,
QueryOptions queryOptions)
Retrieves a
Value for a specific key
from the key/value store. |
void |
KeyValueClient.getValue(String key,
QueryOptions queryOptions,
ConsulResponseCallback<com.google.common.base.Optional<Value>> callback)
Asynchronously retrieves a
Value for a specific key
from the key/value store. |
List<Value> |
KeyValueClient.getValues(String key,
QueryOptions queryOptions)
Retrieves a list of
Value objects for a specific key
from the key/value store. |
void |
KeyValueClient.getValues(String key,
QueryOptions queryOptions,
ConsulResponseCallback<List<Value>> callback)
Asynchronously retrieves a list of
Value objects for a specific key
from the key/value store. |
EventResponse |
EventClient.listEvents(QueryOptions queryOptions)
Lists events for the Consul agent.
|
void |
EventClient.listEvents(QueryOptions queryOptions,
EventResponseCallback callback)
Asynchronously lists events for the Consul agent.
|
EventResponse |
EventClient.listEvents(String name,
QueryOptions queryOptions)
Lists events for the Consul agent.
|
void |
EventClient.listEvents(String name,
QueryOptions queryOptions,
EventResponseCallback callback)
Asynchronously lists events for the Consul agent.
|
void |
AgentClient.register(Registration registration,
QueryOptions options)
Registers the client as a service with Consul.
|
| Modifier and Type | Method and Description |
|---|---|
protected static QueryOptions |
ConsulCache.watchParams(BigInteger index,
int blockSeconds) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableQueryOptions
Immutable implementation of
QueryOptions. |
| Modifier and Type | Field and Description |
|---|---|
static QueryOptions |
QueryOptions.BLANK |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableQueryOptions |
ImmutableQueryOptions.copyOf(QueryOptions instance)
Creates an immutable copy of a
QueryOptions value. |
ImmutableQueryOptions.Builder |
ImmutableQueryOptions.Builder.from(QueryOptions instance)
Fill a builder with attribute values from the provided
QueryOptions instance. |
Copyright © 2016. All rights reserved.