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, validate
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
public 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
Streamable
readFrom
in interface Streamable
readFrom
in class ActionRequest
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class ActionRequest
java.io.IOException