|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.orbitz.consul.HealthClient
public class HealthClient
HTTP Client for /v1/health/ endpoints.
| Method Summary | |
|---|---|
ConsulResponse<java.util.List<ServiceHealth>> |
getAllServiceInstances(java.lang.String service)
Retrieves the healthchecks for all nodes. |
ConsulResponse<java.util.List<ServiceHealth>> |
getAllServiceInstances(java.lang.String service,
CatalogOptions catalogOptions)
Retrieves the healthchecks for all nodes in a given datacenter. |
ConsulResponse<java.util.List<ServiceHealth>> |
getAllServiceInstances(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for all nodes in a given datacenter with QueryOptions. |
void |
getAllServiceInstances(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<ServiceHealth>> callback)
Asynchronously retrieves the healthchecks for all nodes in a given datacenter with QueryOptions. |
ConsulResponse<java.util.List<ServiceHealth>> |
getAllServiceInstances(java.lang.String service,
QueryOptions queryOptions)
Retrieves the healthchecks for all nodes with QueryOptions. |
void |
getAllServiceInstances(java.lang.String service,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<ServiceHealth>> callback)
Asynchronously retrieves the healthchecks for all nodes in a given datacenter with QueryOptions. |
ConsulResponse<java.util.List<HealthCheck>> |
getChecksByState(State state)
Retrieves the healthchecks for a state. |
ConsulResponse<java.util.List<HealthCheck>> |
getChecksByState(State state,
CatalogOptions catalogOptions)
Retrieves the healthchecks for a state in a given datacenter. |
ConsulResponse<java.util.List<HealthCheck>> |
getChecksByState(State state,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for a state in a given datacenter with QueryOptions. |
ConsulResponse<java.util.List<HealthCheck>> |
getChecksByState(State state,
QueryOptions queryOptions)
Retrieves the healthchecks for a state with QueryOptions. |
ConsulResponse<java.util.List<ServiceHealth>> |
getHealthyServiceInstances(java.lang.String service)
Retrieves the healthchecks for all healthy service instances. |
ConsulResponse<java.util.List<ServiceHealth>> |
getHealthyServiceInstances(java.lang.String service,
CatalogOptions catalogOptions)
Retrieves the healthchecks for all healthy service instances in a given datacenter. |
ConsulResponse<java.util.List<ServiceHealth>> |
getHealthyServiceInstances(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for all healthy service instances in a given datacenter with QueryOptions. |
void |
getHealthyServiceInstances(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<ServiceHealth>> callback)
Asynchronously retrieves the healthchecks for all healthy service instances in a given datacenter with QueryOptions. |
ConsulResponse<java.util.List<ServiceHealth>> |
getHealthyServiceInstances(java.lang.String service,
QueryOptions queryOptions)
Retrieves the healthchecks for all healthy service instances with QueryOptions. |
void |
getHealthyServiceInstances(java.lang.String service,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<ServiceHealth>> callback)
Asynchronously retrieves the healthchecks for all healthy service instances in a given datacenter with QueryOptions. |
ConsulResponse<java.util.List<HealthCheck>> |
getNodeChecks(java.lang.String node)
Retrieves the healthchecks for a node. |
ConsulResponse<java.util.List<HealthCheck>> |
getNodeChecks(java.lang.String node,
CatalogOptions catalogOptions)
Retrieves the healthchecks for a node in a given datacenter. |
ConsulResponse<java.util.List<HealthCheck>> |
getNodeChecks(java.lang.String node,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for a node in a given datacenter with QueryOptions. |
ConsulResponse<java.util.List<HealthCheck>> |
getNodeChecks(java.lang.String node,
QueryOptions queryOptions)
Retrieves the healthchecks for a node with QueryOptions. |
ConsulResponse<java.util.List<HealthCheck>> |
getServiceChecks(java.lang.String service)
Retrieves the healthchecks for a service. |
ConsulResponse<java.util.List<HealthCheck>> |
getServiceChecks(java.lang.String service,
CatalogOptions catalogOptions)
Retrieves the healthchecks for a service in a given datacenter. |
ConsulResponse<java.util.List<HealthCheck>> |
getServiceChecks(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
Retrieves the healthchecks for a service in a given datacenter with QueryOptions. |
void |
getServiceChecks(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<HealthCheck>> callback)
Asynchronously retrieves the healthchecks for a service in a given datacenter with QueryOptions. |
ConsulResponse<java.util.List<HealthCheck>> |
getServiceChecks(java.lang.String service,
QueryOptions queryOptions)
Retrieves the healthchecks for a service with QueryOptions. |
void |
getServiceChecks(java.lang.String service,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<HealthCheck>> callback)
Asynchronously retrieves the healthchecks for a service in a given datacenter with QueryOptions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ConsulResponse<java.util.List<HealthCheck>> getNodeChecks(java.lang.String node)
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getNodeChecks(java.lang.String node,
CatalogOptions catalogOptions)
catalogOptions - The catalog specific options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getNodeChecks(java.lang.String node,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/node/{node}
queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getNodeChecks(java.lang.String node,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/node/{node}?dc={datacenter}
catalogOptions - The catalog specific options to use.queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.public ConsulResponse<java.util.List<HealthCheck>> getServiceChecks(java.lang.String service)
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getServiceChecks(java.lang.String service,
CatalogOptions catalogOptions)
catalogOptions - The catalog specific options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getServiceChecks(java.lang.String service,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/checks/{service}
queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getServiceChecks(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/checks/{service}?dc={datacenter}
catalogOptions - The catalog specific options to use.queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.
public void getServiceChecks(java.lang.String service,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<HealthCheck>> callback)
QueryOptions.
GET /v1/health/checks/{service}?dc={datacenter}
service - The service to query.queryOptions - The Query Options to use.callback - Callback implemented by callee to handle results.
public void getServiceChecks(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<HealthCheck>> callback)
QueryOptions.
GET /v1/health/checks/{service}?dc={datacenter}
service - The service to query.catalogOptions - The catalog specific options to use.queryOptions - The Query Options to use.callback - Callback implemented by callee to handle results.public ConsulResponse<java.util.List<HealthCheck>> getChecksByState(State state)
state - The state to query.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getChecksByState(State state,
CatalogOptions catalogOptions)
state - The state to query.catalogOptions - The catalog specific options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getChecksByState(State state,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/state/{state}
state - The state to query.queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<HealthCheck>> getChecksByState(State state,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/state/{state}?dc={datacenter}
state - The state to query.catalogOptions - The catalog specific options to use.queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.public ConsulResponse<java.util.List<ServiceHealth>> getHealthyServiceInstances(java.lang.String service)
service - The service to query.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<ServiceHealth>> getHealthyServiceInstances(java.lang.String service,
CatalogOptions catalogOptions)
service - The service to query.catalogOptions - The catalog specific options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<ServiceHealth>> getHealthyServiceInstances(java.lang.String service,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/service/{service}?passing
service - The service to query.queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<ServiceHealth>> getHealthyServiceInstances(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/service/{service}?dc={datacenter}&passing
service - The service to query.catalogOptions - The catalog specific options to use.queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.
public void getHealthyServiceInstances(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<ServiceHealth>> callback)
QueryOptions.
GET /v1/health/service/{service}?dc={datacenter}&passing
Experimental.
service - The service to query.catalogOptions - The catalog specific options to use.queryOptions - The Query Options to use.callback - Callback implemented by callee to handle results.
public void getHealthyServiceInstances(java.lang.String service,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<ServiceHealth>> callback)
QueryOptions.
GET /v1/health/service/{service}?dc={datacenter}&passing
Experimental.
service - The service to query.queryOptions - The Query Options to use.callback - Callback implemented by callee to handle results.public ConsulResponse<java.util.List<ServiceHealth>> getAllServiceInstances(java.lang.String service)
service - The service to query.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<ServiceHealth>> getAllServiceInstances(java.lang.String service,
CatalogOptions catalogOptions)
service - The service to query.catalogOptions - The catalog specific options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<ServiceHealth>> getAllServiceInstances(java.lang.String service,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/service/{service}
service - The service to query.queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.
public ConsulResponse<java.util.List<ServiceHealth>> getAllServiceInstances(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions)
QueryOptions.
GET /v1/health/service/{service}?dc={datacenter}
service - The service to query.catalogOptions - The catalog specific options to use.queryOptions - The Query Options to use.
ConsulResponse containing a list of
HealthCheck objects.
public void getAllServiceInstances(java.lang.String service,
CatalogOptions catalogOptions,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<ServiceHealth>> callback)
QueryOptions.
GET /v1/health/service/{service}?dc={datacenter}
Experimental.
service - The service to query.catalogOptions - The catalog specific options to use.queryOptions - The Query Options to use.callback - Callback implemented by callee to handle results.
public void getAllServiceInstances(java.lang.String service,
QueryOptions queryOptions,
ConsulResponseCallback<java.util.List<ServiceHealth>> callback)
QueryOptions.
GET /v1/health/service/{service}?dc={datacenter}
Experimental.
service - The service to query.queryOptions - The Query Options to use.callback - Callback implemented by callee to handle results.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||