public abstract class MasterNodeRequest<T extends MasterNodeRequest<T>> extends ChildTaskActionRequest<T>
TransportRequest.Empty| Modifier and Type | Field and Description |
|---|---|
static TimeValue |
DEFAULT_MASTER_NODE_TIMEOUT |
protected TimeValue |
masterNodeTimeout |
headers| Modifier | Constructor and Description |
|---|---|
protected |
MasterNodeRequest() |
protected |
MasterNodeRequest(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) |
createTask, createTask, setParentTaskvalidategetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic static final TimeValue DEFAULT_MASTER_NODE_TIMEOUT
protected TimeValue masterNodeTimeout
protected MasterNodeRequest()
protected MasterNodeRequest(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 ChildTaskActionRequest<T extends MasterNodeRequest<T>>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ChildTaskActionRequest<T extends MasterNodeRequest<T>>IOExceptionCopyright © 2009–2017. All rights reserved.