public abstract class MasterNodeRequest<Request extends MasterNodeRequest<Request>> extends ActionRequest
TransportRequest.Empty| Modifier and Type | Field and Description |
|---|---|
static TimeValue |
DEFAULT_MASTER_NODE_TIMEOUT |
protected TimeValue |
masterNodeTimeout |
| Modifier | Constructor and Description |
|---|---|
protected |
MasterNodeRequest() |
| Modifier and Type | Method and Description |
|---|---|
TimeValue |
masterNodeTimeout() |
Request |
masterNodeTimeout(java.lang.String timeout)
A timeout value in case the master has not been discovered yet or disconnected.
|
Request |
masterNodeTimeout(TimeValue timeout)
A timeout value in case the master has not been discovered yet or disconnected.
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getShouldStoreResult, validategetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic static final TimeValue DEFAULT_MASTER_NODE_TIMEOUT
protected TimeValue masterNodeTimeout
public final Request masterNodeTimeout(TimeValue timeout)
public final Request masterNodeTimeout(java.lang.String timeout)
public final TimeValue masterNodeTimeout()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class ActionRequestjava.io.IOException