com.orbitz.consul.option
Class QueryOptions

java.lang.Object
  extended by com.orbitz.consul.option.QueryOptions

public class QueryOptions
extends java.lang.Object

Container for common query options used by the Consul API.


Field Summary
static QueryOptions BLANK
           
 
Method Summary
 ConsistencyMode getConsistencyMode()
           
 long getIndex()
           
 java.lang.String getToken()
           
 java.lang.String getWait()
           
 boolean hasToken()
           
 boolean isBlocking()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLANK

public static QueryOptions BLANK
Method Detail

getWait

public java.lang.String getWait()

getIndex

public long getIndex()

getConsistencyMode

public ConsistencyMode getConsistencyMode()

isBlocking

public boolean isBlocking()

hasToken

public boolean hasToken()

getToken

public java.lang.String getToken()