Package org.elasticsearch.transport
Class TransportRequestOptions
java.lang.Object
org.elasticsearch.transport.TransportRequestOptions
public class TransportRequestOptions
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransportRequestOptions.Type -
Field Summary
Fields Modifier and Type Field Description static TransportRequestOptionsEMPTY -
Method Summary
Modifier and Type Method Description static TransportRequestOptionsof(org.elasticsearch.common.unit.TimeValue timeout, TransportRequestOptions.Type type)org.elasticsearch.common.unit.TimeValuetimeout()static TransportRequestOptionstimeout(org.elasticsearch.common.unit.TimeValue timeout)TransportRequestOptions.Typetype()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
EMPTY
-
-
Method Details
-
timeout
public static TransportRequestOptions timeout(@Nullable org.elasticsearch.common.unit.TimeValue timeout) -
of
public static TransportRequestOptions of(@Nullable org.elasticsearch.common.unit.TimeValue timeout, TransportRequestOptions.Type type) -
timeout
@Nullable public org.elasticsearch.common.unit.TimeValue timeout() -
type
-