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 class
TransportRequestOptions.Type
-
Field Summary
Fields Modifier and Type Field Description static TransportRequestOptions
EMPTY
-
Method Summary
Modifier and Type Method Description static TransportRequestOptions
of(org.elasticsearch.common.unit.TimeValue timeout, TransportRequestOptions.Type type)
org.elasticsearch.common.unit.TimeValue
timeout()
static TransportRequestOptions
timeout(org.elasticsearch.common.unit.TimeValue timeout)
TransportRequestOptions.Type
type()
-
Field Details
-
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
-