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.
|