org.elasticsearch.transport
Class TransportRequestOptions

java.lang.Object
  extended by org.elasticsearch.transport.TransportRequestOptions

public class TransportRequestOptions
extends java.lang.Object


Field Summary
static TransportRequestOptions EMPTY
           
 
Constructor Summary
TransportRequestOptions()
           
 
Method Summary
 boolean compress()
           
static TransportRequestOptions options()
           
 TimeValue timeout()
           
 TransportRequestOptions withCompress(boolean compress)
           
 TransportRequestOptions withTimeout(long timeout)
           
 TransportRequestOptions withTimeout(TimeValue timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static TransportRequestOptions EMPTY
Constructor Detail

TransportRequestOptions

public TransportRequestOptions()
Method Detail

options

public static TransportRequestOptions options()

withTimeout

public TransportRequestOptions withTimeout(long timeout)

withTimeout

public TransportRequestOptions withTimeout(TimeValue timeout)

withCompress

public TransportRequestOptions withCompress(boolean compress)

timeout

public TimeValue timeout()

compress

public boolean compress()