Streamable, Writeable, TaskAwareRequestAcknowledgedRequest, ClusterAllocationExplainRequest, CreateSnapshotRequest, DeleteIndexTemplateRequest, DeleteSnapshotRequest, GetSnapshotsRequest, MasterNodeReadRequest, PutIndexTemplateRequest, RestoreSnapshotRequest, SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest, SnapshotsStatusRequestpublic abstract class MasterNodeRequest<Request extends MasterNodeRequest<Request>> extends ActionRequest
TransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static TimeValue |
DEFAULT_MASTER_NODE_TIMEOUT |
|
protected TimeValue |
masterNodeTimeout |
| Modifier | Constructor | Description |
|---|---|---|
protected |
MasterNodeRequest() |
| Modifier and Type | Method | 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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReadercreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, 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 interface WriteablewriteTo in class ActionRequestjava.io.IOException