org.elasticsearch.transport
Class TransportRequestOptions
java.lang.Object
org.elasticsearch.transport.TransportRequestOptions
public class TransportRequestOptions
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static TransportRequestOptions EMPTY
TransportRequestOptions
public TransportRequestOptions()
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()