Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.reactivex.ext.consul | |
io.vertx.rxjava.ext.consul |
Modifier and Type | Method and Description |
---|---|
PreparedQueryDefinition |
PreparedQueryDefinition.setDcs(List<String> dcs)
Specifies a fixed list of remote datacenters to forward the query to if there are no healthy nodes
in the local datacenter.
|
PreparedQueryDefinition |
PreparedQueryDefinition.setDnsTtl(String dnsTtl)
Set the TTL duration when query results are served over DNS.
|
PreparedQueryDefinition |
PreparedQueryDefinition.setId(String id)
Set ID of the query, always generated by Consul
|
PreparedQueryDefinition |
PreparedQueryDefinition.setMeta(Map<String,String> meta)
Set a list of user-defined key/value pairs that will be used for filtering the query results to nodes
with the given metadata values present.
|
PreparedQueryDefinition |
PreparedQueryDefinition.setName(String name)
Set an optional friendly name that can be used to execute a query instead of using its ID
|
PreparedQueryDefinition |
PreparedQueryDefinition.setNearestN(int nearestN)
Specifies that the query will be forwarded to up to NearestN other datacenters based on their estimated network
round trip time using Network Coordinates from the WAN gossip pool.
|
PreparedQueryDefinition |
PreparedQueryDefinition.setPassing(boolean passing)
Specifies the behavior of the query's health check filtering.
|
PreparedQueryDefinition |
PreparedQueryDefinition.setService(String service)
Set the name of the service to query
|
PreparedQueryDefinition |
PreparedQueryDefinition.setSession(String session)
Set the ID of an existing session.
|
PreparedQueryDefinition |
PreparedQueryDefinition.setTags(List<String> tags)
Set a list of service tags to filter the query results.
|
PreparedQueryDefinition |
PreparedQueryDefinition.setTemplateRegexp(String templateRegexp)
Set regular expression which is used to extract fields from the entire name, once this template is selected.
|
PreparedQueryDefinition |
PreparedQueryDefinition.setTemplateType(String templateType)
The template type, which must be
name_prefix_match . |
PreparedQueryDefinition |
PreparedQueryDefinition.setToken(String token)
Set the ACL token to use each time the query is executed.
|
Modifier and Type | Method and Description |
---|---|
Future<List<PreparedQueryDefinition>> |
ConsulClient.getAllPreparedQueries()
Like
ConsulClient.getAllPreparedQueries(Handler) but returns a Future of the asynchronous result. |
Future<PreparedQueryDefinition> |
ConsulClient.getPreparedQuery(String id)
Like
ConsulClient.getPreparedQuery(String, Handler) but returns a Future of the asynchronous result. |
Modifier and Type | Method and Description |
---|---|
Future<String> |
ConsulClient.createPreparedQuery(PreparedQueryDefinition definition)
Like
ConsulClient.createPreparedQuery(PreparedQueryDefinition, Handler) but returns a Future of the asynchronous result. |
ConsulClient |
ConsulClient.createPreparedQuery(PreparedQueryDefinition definition,
Handler<AsyncResult<String>> resultHandler) |
Future<Void> |
ConsulClient.updatePreparedQuery(PreparedQueryDefinition definition)
Like
ConsulClient.updatePreparedQuery(PreparedQueryDefinition, Handler) but returns a Future of the asynchronous result. |
ConsulClient |
ConsulClient.updatePreparedQuery(PreparedQueryDefinition definition,
Handler<AsyncResult<Void>> resultHandler) |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getAllPreparedQueries(Handler<AsyncResult<List<PreparedQueryDefinition>>> resultHandler)
Returns a list of all prepared queries.
|
ConsulClient |
ConsulClient.getPreparedQuery(String id,
Handler<AsyncResult<PreparedQueryDefinition>> resultHandler)
Returns an existing prepared query
|
Modifier and Type | Method and Description |
---|---|
Single<List<PreparedQueryDefinition>> |
ConsulClient.rxGetAllPreparedQueries()
Returns a list of all prepared queries.
|
Single<PreparedQueryDefinition> |
ConsulClient.rxGetPreparedQuery(String id)
Returns an existing prepared query
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.createPreparedQuery(PreparedQueryDefinition definition) |
ConsulClient |
ConsulClient.createPreparedQuery(PreparedQueryDefinition definition,
Handler<AsyncResult<String>> resultHandler) |
Single<String> |
ConsulClient.rxCreatePreparedQuery(PreparedQueryDefinition definition) |
Completable |
ConsulClient.rxUpdatePreparedQuery(PreparedQueryDefinition definition) |
ConsulClient |
ConsulClient.updatePreparedQuery(PreparedQueryDefinition definition) |
ConsulClient |
ConsulClient.updatePreparedQuery(PreparedQueryDefinition definition,
Handler<AsyncResult<Void>> resultHandler) |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getAllPreparedQueries(Handler<AsyncResult<List<PreparedQueryDefinition>>> resultHandler)
Returns a list of all prepared queries.
|
ConsulClient |
ConsulClient.getPreparedQuery(String id,
Handler<AsyncResult<PreparedQueryDefinition>> resultHandler)
Returns an existing prepared query
|
Modifier and Type | Method and Description |
---|---|
Single<List<PreparedQueryDefinition>> |
ConsulClient.rxGetAllPreparedQueries()
Returns a list of all prepared queries.
|
Single<PreparedQueryDefinition> |
ConsulClient.rxGetPreparedQuery(String id)
Returns an existing prepared query
|
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.createPreparedQuery(PreparedQueryDefinition definition) |
ConsulClient |
ConsulClient.createPreparedQuery(PreparedQueryDefinition definition,
Handler<AsyncResult<String>> resultHandler) |
Single<String> |
ConsulClient.rxCreatePreparedQuery(PreparedQueryDefinition definition) |
Single<Void> |
ConsulClient.rxUpdatePreparedQuery(PreparedQueryDefinition definition) |
ConsulClient |
ConsulClient.updatePreparedQuery(PreparedQueryDefinition definition) |
ConsulClient |
ConsulClient.updatePreparedQuery(PreparedQueryDefinition definition,
Handler<AsyncResult<Void>> resultHandler) |
Modifier and Type | Method and Description |
---|---|
ConsulClient |
ConsulClient.getAllPreparedQueries(Handler<AsyncResult<List<PreparedQueryDefinition>>> resultHandler)
Returns a list of all prepared queries.
|
ConsulClient |
ConsulClient.getPreparedQuery(String id,
Handler<AsyncResult<PreparedQueryDefinition>> resultHandler)
Returns an existing prepared query
|
Copyright © 2021 Eclipse. All rights reserved.