Package org.kiwiproject.consul.option
Class QueryOptions
java.lang.Object
org.kiwiproject.consul.option.QueryOptions
- All Implemented Interfaces:
ParamAdder
- Direct Known Subclasses:
ImmutableQueryOptions
Container for common query options used by the Consul API.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockMinutes(int minutes, String hash) blockMinutes(int minutes, BigInteger index) blockSeconds(int seconds, String hash) blockSeconds(int seconds, BigInteger index) getHash()abstract Optional<BigInteger>getIndex()getNear()getNote()getTag()getToken()getWait()getWan()booleanhasToken()booleantoQuery()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kiwiproject.consul.option.ParamAdder
toQueryParameters
-
Field Details
-
BLANK
-
-
Constructor Details
-
QueryOptions
public QueryOptions()
-
-
Method Details
-
getWait
-
getToken
-
getHash
-
getIndex
-
getNear
-
getDatacenter
-
getFilter
-
getNamespace
-
getWan
-
getSegment
-
getNote
-
getEnable
-
getReason
-
getNodeMeta
-
getTag
-
getConsistencyMode
-
isBlocking
@Derived public boolean isBlocking() -
hasToken
@Derived public boolean hasToken() -
getNodeMetaQuery
-
getTagsQuery
-
blockSeconds
-
blockMinutes
-
blockSeconds
-
blockMinutes
-
toQuery
- Specified by:
toQueryin interfaceParamAdder
-
toHeaders
- Specified by:
toHeadersin interfaceParamAdder
-