public abstract class MasterNodeOperationRequest<T extends MasterNodeOperationRequest> extends ActionRequest<T>
TransportRequest.Empty| Modifier and Type | Field and Description |
|---|---|
static TimeValue |
DEFAULT_MASTER_NODE_TIMEOUT |
protected TimeValue |
masterNodeTimeout |
headers| Modifier | Constructor and Description |
|---|---|
protected |
MasterNodeOperationRequest() |
protected |
MasterNodeOperationRequest(ActionRequest request) |
| Modifier and Type | Method and Description |
|---|---|
TimeValue |
masterNodeTimeout() |
T |
masterNodeTimeout(String timeout)
A timeout value in case the master has not been discovered yet or disconnected.
|
T |
masterNodeTimeout(TimeValue timeout)
A timeout value in case the master has not been discovered yet or disconnected.
|
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
listenerThreaded, listenerThreaded, validateputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic static final TimeValue DEFAULT_MASTER_NODE_TIMEOUT
protected TimeValue masterNodeTimeout
protected MasterNodeOperationRequest()
protected MasterNodeOperationRequest(ActionRequest request)
public final T masterNodeTimeout(TimeValue timeout)
public final T masterNodeTimeout(String timeout)
public final TimeValue masterNodeTimeout()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionRequest<T extends MasterNodeOperationRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionRequest<T extends MasterNodeOperationRequest>IOExceptionCopyright © 2009–2016. All rights reserved.