ConsulClient |
ConsulClient.agentInfo() |
Returns the configuration and member information of the local agent
|
ConsulClient |
ConsulClient.agentInfo(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> resultHandler) |
Returns the configuration and member information of the local agent
|
ConsulClient |
ConsulClient.catalogDatacenters() |
Return all the datacenters that are known by the Consul server
|
ConsulClient |
ConsulClient.catalogDatacenters(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<String>>> resultHandler) |
Return all the datacenters that are known by the Consul server
|
ConsulClient |
ConsulClient.catalogNodes() |
Returns the nodes registered in a datacenter
|
ConsulClient |
ConsulClient.catalogNodes(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.NodeList>> resultHandler) |
Returns the nodes registered in a datacenter
|
ConsulClient |
ConsulClient.catalogNodeServices(String node) |
Returns the node's registered services
|
ConsulClient |
ConsulClient.catalogNodeServices(String node,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceList>> resultHandler) |
Returns the node's registered services
|
ConsulClient |
ConsulClient.catalogNodeServicesWithOptions(String node,
io.vertx.ext.consul.BlockingQueryOptions options) |
|
ConsulClient |
ConsulClient.catalogNodeServicesWithOptions(String node,
io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceList>> resultHandler) |
|
ConsulClient |
ConsulClient.catalogNodesWithOptions(io.vertx.ext.consul.NodeQueryOptions options) |
Returns the nodes registered in a datacenter
|
ConsulClient |
ConsulClient.catalogNodesWithOptions(io.vertx.ext.consul.NodeQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.NodeList>> resultHandler) |
Returns the nodes registered in a datacenter
|
ConsulClient |
ConsulClient.catalogServiceNodes(String service) |
Returns the nodes providing a service
|
ConsulClient |
ConsulClient.catalogServiceNodes(String service,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceList>> resultHandler) |
Returns the nodes providing a service
|
ConsulClient |
ConsulClient.catalogServiceNodesWithOptions(String service,
io.vertx.ext.consul.ServiceQueryOptions options) |
Returns the nodes providing a service
|
ConsulClient |
ConsulClient.catalogServiceNodesWithOptions(String service,
io.vertx.ext.consul.ServiceQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceList>> resultHandler) |
Returns the nodes providing a service
|
ConsulClient |
ConsulClient.catalogServices() |
Returns the services registered in a datacenter
|
ConsulClient |
ConsulClient.catalogServices(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceList>> resultHandler) |
Returns the services registered in a datacenter
|
ConsulClient |
ConsulClient.catalogServicesWithOptions(io.vertx.ext.consul.BlockingQueryOptions options) |
|
ConsulClient |
ConsulClient.catalogServicesWithOptions(io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceList>> resultHandler) |
|
ConsulClient |
ConsulClient.cloneAclToken(String id) |
Deprecated.
|
ConsulClient |
ConsulClient.cloneAclToken(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> idHandler) |
Deprecated.
|
ConsulClient |
ConsulClient.cloneAclToken(String accessorId,
io.vertx.ext.consul.token.CloneAclTokenOptions cloneAclToken) |
Clones an existing ACL token
|
ConsulClient |
ConsulClient.cloneAclToken(String accessorId,
io.vertx.ext.consul.token.CloneAclTokenOptions cloneAclToken,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.token.AclToken>> resultHandler) |
Clones an existing ACL token
|
ConsulClient |
ConsulClient.coordinateDatacenters() |
Returns the WAN network coordinates for all Consul servers, organized by DCs
|
ConsulClient |
ConsulClient.coordinateDatacenters(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.ext.consul.DcCoordinates>>> resultHandler) |
Returns the WAN network coordinates for all Consul servers, organized by DCs
|
ConsulClient |
ConsulClient.coordinateNodes() |
Returns the LAN network coordinates for all nodes in a given DC
|
ConsulClient |
ConsulClient.coordinateNodes(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.CoordinateList>> resultHandler) |
Returns the LAN network coordinates for all nodes in a given DC
|
ConsulClient |
ConsulClient.coordinateNodesWithOptions(io.vertx.ext.consul.BlockingQueryOptions options) |
|
ConsulClient |
ConsulClient.coordinateNodesWithOptions(io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.CoordinateList>> resultHandler) |
|
static ConsulClient |
ConsulClient.create(Vertx vertx) |
Create a Consul client with default options.
|
static ConsulClient |
ConsulClient.create(Vertx vertx,
io.vertx.ext.consul.ConsulClientOptions options) |
Create a Consul client.
|
ConsulClient |
ConsulClient.createAclPolicy(io.vertx.ext.consul.policy.AclPolicy policy) |
Creates a new ACL policy
|
ConsulClient |
ConsulClient.createAclPolicy(io.vertx.ext.consul.policy.AclPolicy policy,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> resultHandler) |
Creates a new ACL policy
|
ConsulClient |
ConsulClient.createAclToken(io.vertx.ext.consul.AclToken token) |
Deprecated.
|
ConsulClient |
ConsulClient.createAclToken(io.vertx.ext.consul.AclToken token,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> idHandler) |
Deprecated.
|
ConsulClient |
ConsulClient.createAclToken(io.vertx.ext.consul.token.AclToken token) |
Create an Acl token
|
ConsulClient |
ConsulClient.createAclToken(io.vertx.ext.consul.token.AclToken token,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.token.AclToken>> resultHandler) |
Create an Acl token
|
ConsulClient |
ConsulClient.createPreparedQuery(io.vertx.ext.consul.PreparedQueryDefinition definition) |
|
ConsulClient |
ConsulClient.createPreparedQuery(io.vertx.ext.consul.PreparedQueryDefinition definition,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> resultHandler) |
|
ConsulClient |
ConsulClient.createSession() |
Initialize a new session
|
ConsulClient |
ConsulClient.createSession(io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> idHandler) |
Initialize a new session
|
ConsulClient |
ConsulClient.createSessionWithOptions(io.vertx.ext.consul.SessionOptions options) |
Initialize a new session
|
ConsulClient |
ConsulClient.createSessionWithOptions(io.vertx.ext.consul.SessionOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> idHandler) |
Initialize a new session
|
ConsulClient |
ConsulClient.deleteAclToken(String accessorId) |
Deletes an ACL token
|
ConsulClient |
ConsulClient.deleteAclToken(String accessorId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> resultHandler) |
Deletes an ACL token
|
ConsulClient |
ConsulClient.deletePolicy(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> resultHandler) |
This endpoint deletes an ACL policy
|
ConsulClient |
ConsulClient.deletePreparedQuery(String id) |
Deletes an existing prepared query
|
ConsulClient |
ConsulClient.deletePreparedQuery(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Deletes an existing prepared query
|
ConsulClient |
ConsulClient.deleteValue(String key) |
Remove the key/value pair that corresponding to the specified key
|
ConsulClient |
ConsulClient.deleteValue(String key,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Remove the key/value pair that corresponding to the specified key
|
ConsulClient |
ConsulClient.deleteValues(String keyPrefix) |
Removes all the key/value pair that corresponding to the specified key prefix
|
ConsulClient |
ConsulClient.deleteValues(String keyPrefix,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Removes all the key/value pair that corresponding to the specified key prefix
|
ConsulClient |
ConsulClient.deregisterCatalogService(String nodeId,
String serviceId) |
Deregister entities from the node or deregister the node itself.
|
ConsulClient |
ConsulClient.deregisterCatalogService(String nodeId,
String serviceId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Deregister entities from the node or deregister the node itself.
|
ConsulClient |
ConsulClient.deregisterCheck(String checkId) |
Remove a check from the local agent.
|
ConsulClient |
ConsulClient.deregisterCheck(String checkId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Remove a check from the local agent.
|
ConsulClient |
ConsulClient.deregisterService(String id) |
Remove a service from the local agent.
|
ConsulClient |
ConsulClient.deregisterService(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Remove a service from the local agent.
|
ConsulClient |
ConsulClient.destroyAclToken(String id) |
Deprecated.
|
ConsulClient |
ConsulClient.destroyAclToken(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Deprecated.
|
ConsulClient |
ConsulClient.destroySession(String id) |
Destroys the given session
|
ConsulClient |
ConsulClient.destroySession(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Destroys the given session
|
ConsulClient |
ConsulClient.executePreparedQuery(String query) |
Executes an existing prepared query.
|
ConsulClient |
ConsulClient.executePreparedQuery(String query,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.PreparedQueryExecuteResponse>> resultHandler) |
Executes an existing prepared query.
|
ConsulClient |
ConsulClient.executePreparedQueryWithOptions(String query,
io.vertx.ext.consul.PreparedQueryExecuteOptions options) |
Executes an existing prepared query.
|
ConsulClient |
ConsulClient.executePreparedQueryWithOptions(String query,
io.vertx.ext.consul.PreparedQueryExecuteOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.PreparedQueryExecuteResponse>> resultHandler) |
Executes an existing prepared query.
|
ConsulClient |
ConsulClient.failCheck(String checkId) |
Set status of the check to "critical".
|
ConsulClient |
ConsulClient.failCheck(String checkId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Set status of the check to "critical".
|
ConsulClient |
ConsulClient.failCheckWithNote(String checkId,
String note) |
Set status of the check to "critical".
|
ConsulClient |
ConsulClient.failCheckWithNote(String checkId,
String note,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Set status of the check to "critical".
|
ConsulClient |
ConsulClient.fireEvent(String name) |
Fires a new user event
|
ConsulClient |
ConsulClient.fireEvent(String name,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Event>> resultHandler) |
Fires a new user event
|
ConsulClient |
ConsulClient.fireEventWithOptions(String name,
io.vertx.ext.consul.EventOptions options) |
Fires a new user event
|
ConsulClient |
ConsulClient.fireEventWithOptions(String name,
io.vertx.ext.consul.EventOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Event>> resultHandler) |
Fires a new user event
|
ConsulClient |
ConsulClient.getAclPolicies(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.ext.consul.policy.AclPolicy>>> resultHandler) |
This endpoint lists all the ACL policies.
|
ConsulClient |
ConsulClient.getAclTokens() |
Get list of Acl token
|
ConsulClient |
ConsulClient.getAclTokens(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.ext.consul.token.AclToken>>> resultHandler) |
Get list of Acl token
|
ConsulClient |
ConsulClient.getAllPreparedQueries() |
Returns a list of all prepared queries.
|
ConsulClient |
ConsulClient.getAllPreparedQueries(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.ext.consul.PreparedQueryDefinition>>> resultHandler) |
Returns a list of all prepared queries.
|
ConsulClient |
ConsulClient.getKeys(String keyPrefix) |
Returns the list of keys that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getKeys(String keyPrefix,
io.vertx.core.Handler<io.vertx.core.AsyncResult<List<String>>> resultHandler) |
Returns the list of keys that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getKeysWithOptions(String keyPrefix,
io.vertx.ext.consul.BlockingQueryOptions options) |
Returns the list of keys that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getKeysWithOptions(String keyPrefix,
io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<List<String>>> resultHandler) |
Returns the list of keys that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getPreparedQuery(String id) |
Returns an existing prepared query
|
ConsulClient |
ConsulClient.getPreparedQuery(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.PreparedQueryDefinition>> resultHandler) |
Returns an existing prepared query
|
ConsulClient |
ConsulClient.getValue(String key) |
Returns key/value pair that corresponding to the specified key.
|
ConsulClient |
ConsulClient.getValue(String key,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.KeyValue>> resultHandler) |
Returns key/value pair that corresponding to the specified key.
|
ConsulClient |
ConsulClient.getValues(String keyPrefix) |
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getValues(String keyPrefix,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.KeyValueList>> resultHandler) |
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getValuesWithOptions(String keyPrefix,
io.vertx.ext.consul.BlockingQueryOptions options) |
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getValuesWithOptions(String keyPrefix,
io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.KeyValueList>> resultHandler) |
Returns the list of key/value pairs that corresponding to the specified key prefix.
|
ConsulClient |
ConsulClient.getValueWithOptions(String key,
io.vertx.ext.consul.BlockingQueryOptions options) |
Returns key/value pair that corresponding to the specified key.
|
ConsulClient |
ConsulClient.getValueWithOptions(String key,
io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.KeyValue>> resultHandler) |
Returns key/value pair that corresponding to the specified key.
|
ConsulClient |
ConsulClient.healthChecks(String service) |
Returns the checks associated with the service
|
ConsulClient |
ConsulClient.healthChecks(String service,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.CheckList>> resultHandler) |
Returns the checks associated with the service
|
ConsulClient |
ConsulClient.healthChecksWithOptions(String service,
io.vertx.ext.consul.CheckQueryOptions options) |
Returns the checks associated with the service
|
ConsulClient |
ConsulClient.healthChecksWithOptions(String service,
io.vertx.ext.consul.CheckQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.CheckList>> resultHandler) |
Returns the checks associated with the service
|
ConsulClient |
ConsulClient.healthNodesWithOptions(String node,
io.vertx.ext.consul.CheckQueryOptions options) |
Returns the checks specific to the node provided on the path.
|
ConsulClient |
ConsulClient.healthNodesWithOptions(String node,
io.vertx.ext.consul.CheckQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.CheckList>> resultHandler) |
Returns the checks specific to the node provided on the path.
|
ConsulClient |
ConsulClient.healthServiceNodes(String service,
boolean passing) |
Returns the nodes providing the service.
|
ConsulClient |
ConsulClient.healthServiceNodes(String service,
boolean passing,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceEntryList>> resultHandler) |
Returns the nodes providing the service.
|
ConsulClient |
ConsulClient.healthServiceNodesWithOptions(String service,
boolean passing,
io.vertx.ext.consul.ServiceQueryOptions options) |
Returns the nodes providing the service.
|
ConsulClient |
ConsulClient.healthServiceNodesWithOptions(String service,
boolean passing,
io.vertx.ext.consul.ServiceQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.ServiceEntryList>> resultHandler) |
Returns the nodes providing the service.
|
ConsulClient |
ConsulClient.healthState(io.vertx.ext.consul.HealthState healthState) |
Returns the checks in the specified status
|
ConsulClient |
ConsulClient.healthState(io.vertx.ext.consul.HealthState healthState,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.CheckList>> resultHandler) |
Returns the checks in the specified status
|
ConsulClient |
ConsulClient.healthStateWithOptions(io.vertx.ext.consul.HealthState healthState,
io.vertx.ext.consul.CheckQueryOptions options) |
Returns the checks in the specified status
|
ConsulClient |
ConsulClient.healthStateWithOptions(io.vertx.ext.consul.HealthState healthState,
io.vertx.ext.consul.CheckQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.CheckList>> resultHandler) |
Returns the checks in the specified status
|
ConsulClient |
ConsulClient.infoAclToken(String id) |
Deprecated.
|
ConsulClient |
ConsulClient.infoAclToken(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.AclToken>> tokenHandler) |
Deprecated.
|
ConsulClient |
ConsulClient.infoSession(String id) |
Returns the requested session information
|
ConsulClient |
ConsulClient.infoSession(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Session>> resultHandler) |
Returns the requested session information
|
ConsulClient |
ConsulClient.infoSessionWithOptions(String id,
io.vertx.ext.consul.BlockingQueryOptions options) |
|
ConsulClient |
ConsulClient.infoSessionWithOptions(String id,
io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Session>> resultHandler) |
|
ConsulClient |
ConsulClient.leaderStatus() |
Get the Raft leader for the datacenter in which the agent is running.
|
ConsulClient |
ConsulClient.leaderStatus(io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> resultHandler) |
Get the Raft leader for the datacenter in which the agent is running.
|
ConsulClient |
ConsulClient.listAclTokens() |
Deprecated.
|
ConsulClient |
ConsulClient.listAclTokens(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.ext.consul.AclToken>>> resultHandler) |
Deprecated.
|
ConsulClient |
ConsulClient.listEvents() |
Returns the most recent events known by the agent
|
ConsulClient |
ConsulClient.listEvents(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.EventList>> resultHandler) |
Returns the most recent events known by the agent
|
ConsulClient |
ConsulClient.listEventsWithOptions(io.vertx.ext.consul.EventListOptions options) |
Returns the most recent events known by the agent.
|
ConsulClient |
ConsulClient.listEventsWithOptions(io.vertx.ext.consul.EventListOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.EventList>> resultHandler) |
Returns the most recent events known by the agent.
|
ConsulClient |
ConsulClient.listNodeSessions(String nodeId) |
Returns the active sessions for a given node
|
ConsulClient |
ConsulClient.listNodeSessions(String nodeId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.SessionList>> resultHandler) |
Returns the active sessions for a given node
|
ConsulClient |
ConsulClient.listNodeSessionsWithOptions(String nodeId,
io.vertx.ext.consul.BlockingQueryOptions options) |
|
ConsulClient |
ConsulClient.listNodeSessionsWithOptions(String nodeId,
io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.SessionList>> resultHandler) |
|
ConsulClient |
ConsulClient.listSessions() |
Returns the active sessions
|
ConsulClient |
ConsulClient.listSessions(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.SessionList>> resultHandler) |
Returns the active sessions
|
ConsulClient |
ConsulClient.listSessionsWithOptions(io.vertx.ext.consul.BlockingQueryOptions options) |
|
ConsulClient |
ConsulClient.listSessionsWithOptions(io.vertx.ext.consul.BlockingQueryOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.SessionList>> resultHandler) |
|
ConsulClient |
ConsulClient.localChecks() |
Return all the checks that are registered with the local agent.
|
ConsulClient |
ConsulClient.localChecks(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.ext.consul.Check>>> resultHandler) |
Return all the checks that are registered with the local agent.
|
ConsulClient |
ConsulClient.localServices() |
Returns list of services registered with the local agent.
|
ConsulClient |
ConsulClient.localServices(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.ext.consul.Service>>> resultHandler) |
Returns list of services registered with the local agent.
|
ConsulClient |
ConsulClient.maintenanceService(io.vertx.ext.consul.MaintenanceOptions maintenanceOptions) |
Places a given service into "maintenance mode"
|
ConsulClient |
ConsulClient.maintenanceService(io.vertx.ext.consul.MaintenanceOptions maintenanceOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Places a given service into "maintenance mode"
|
static ConsulClient |
ConsulClient.newInstance(io.vertx.ext.consul.ConsulClient arg) |
|
ConsulClient |
ConsulClient.passCheck(String checkId) |
Set status of the check to "passing".
|
ConsulClient |
ConsulClient.passCheck(String checkId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Set status of the check to "passing".
|
ConsulClient |
ConsulClient.passCheckWithNote(String checkId,
String note) |
Set status of the check to "passing".
|
ConsulClient |
ConsulClient.passCheckWithNote(String checkId,
String note,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Set status of the check to "passing".
|
ConsulClient |
ConsulClient.peersStatus() |
Retrieves the Raft peers for the datacenter in which the the agent is running.
|
ConsulClient |
ConsulClient.peersStatus(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<String>>> resultHandler) |
Retrieves the Raft peers for the datacenter in which the the agent is running.
|
ConsulClient |
ConsulClient.putValue(String key,
String value) |
Adds specified key/value pair
|
ConsulClient |
ConsulClient.putValue(String key,
String value,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> resultHandler) |
Adds specified key/value pair
|
ConsulClient |
ConsulClient.putValueWithOptions(String key,
String value,
io.vertx.ext.consul.KeyValueOptions options) |
|
ConsulClient |
ConsulClient.putValueWithOptions(String key,
String value,
io.vertx.ext.consul.KeyValueOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> resultHandler) |
|
ConsulClient |
ConsulClient.readAclToken(String accessorId) |
Reads an ACL token with the given Accessor ID
|
ConsulClient |
ConsulClient.readAclToken(String accessorId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.token.AclToken>> resultHandler) |
Reads an ACL token with the given Accessor ID
|
ConsulClient |
ConsulClient.readPolicy(String id) |
This endpoint reads an ACL policy with the given ID
|
ConsulClient |
ConsulClient.readPolicy(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.policy.AclPolicy>> resultHandler) |
This endpoint reads an ACL policy with the given ID
|
ConsulClient |
ConsulClient.readPolicyByName(String name) |
This endpoint reads an ACL policy with the given name
|
ConsulClient |
ConsulClient.readPolicyByName(String name,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.policy.AclPolicy>> resultHandler) |
This endpoint reads an ACL policy with the given name
|
ConsulClient |
ConsulClient.registerCatalogService(io.vertx.ext.consul.Node nodeOptions,
io.vertx.ext.consul.ServiceOptions serviceOptions) |
Register node with external service
|
ConsulClient |
ConsulClient.registerCatalogService(io.vertx.ext.consul.Node nodeOptions,
io.vertx.ext.consul.ServiceOptions serviceOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Register node with external service
|
ConsulClient |
ConsulClient.registerCheck(io.vertx.ext.consul.CheckOptions checkOptions) |
Add a new check to the local agent.
|
ConsulClient |
ConsulClient.registerCheck(io.vertx.ext.consul.CheckOptions checkOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Add a new check to the local agent.
|
ConsulClient |
ConsulClient.registerService(io.vertx.ext.consul.ServiceOptions serviceOptions) |
Adds a new service, with an optional health check, to the local agent.
|
ConsulClient |
ConsulClient.registerService(io.vertx.ext.consul.ServiceOptions serviceOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Adds a new service, with an optional health check, to the local agent.
|
ConsulClient |
ConsulClient.renewSession(String id) |
Renews the given session.
|
ConsulClient |
ConsulClient.renewSession(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.Session>> resultHandler) |
Renews the given session.
|
ConsulClient |
ConsulClient.transaction(io.vertx.ext.consul.TxnRequest request) |
Manages multiple operations inside a single, atomic transaction.
|
ConsulClient |
ConsulClient.transaction(io.vertx.ext.consul.TxnRequest request,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.TxnResponse>> resultHandler) |
Manages multiple operations inside a single, atomic transaction.
|
ConsulClient |
ConsulClient.updateAclToken(io.vertx.ext.consul.AclToken token) |
Deprecated.
|
ConsulClient |
ConsulClient.updateAclToken(io.vertx.ext.consul.AclToken token,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> idHandler) |
Deprecated.
|
ConsulClient |
ConsulClient.updateAclToken(String accessorId,
io.vertx.ext.consul.token.AclToken token) |
Update an existing Acl token
|
ConsulClient |
ConsulClient.updateAclToken(String accessorId,
io.vertx.ext.consul.token.AclToken token,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.token.AclToken>> resultHandler) |
Update an existing Acl token
|
ConsulClient |
ConsulClient.updateCheck(String checkId,
io.vertx.ext.consul.CheckStatus status) |
Set status of the check to given status.
|
ConsulClient |
ConsulClient.updateCheck(String checkId,
io.vertx.ext.consul.CheckStatus status,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Set status of the check to given status.
|
ConsulClient |
ConsulClient.updateCheckWithNote(String checkId,
io.vertx.ext.consul.CheckStatus status,
String note) |
Set status of the check to given status.
|
ConsulClient |
ConsulClient.updateCheckWithNote(String checkId,
io.vertx.ext.consul.CheckStatus status,
String note,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Set status of the check to given status.
|
ConsulClient |
ConsulClient.updatePolicy(String id,
io.vertx.ext.consul.policy.AclPolicy policy) |
This endpoint updates an existing ACL policy
|
ConsulClient |
ConsulClient.updatePolicy(String id,
io.vertx.ext.consul.policy.AclPolicy policy,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.consul.policy.AclPolicy>> resultHandler) |
This endpoint updates an existing ACL policy
|
ConsulClient |
ConsulClient.updatePreparedQuery(io.vertx.ext.consul.PreparedQueryDefinition definition) |
|
ConsulClient |
ConsulClient.updatePreparedQuery(io.vertx.ext.consul.PreparedQueryDefinition definition,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
|
ConsulClient |
ConsulClient.warnCheck(String checkId) |
Set status of the check to "warning".
|
ConsulClient |
ConsulClient.warnCheck(String checkId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Set status of the check to "warning".
|
ConsulClient |
ConsulClient.warnCheckWithNote(String checkId,
String note) |
Set status of the check to "warning".
|
ConsulClient |
ConsulClient.warnCheckWithNote(String checkId,
String note,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) |
Set status of the check to "warning".
|