Streamable
, Writeable
, TaskAwareRequest
public static class SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest extends MasterNodeRequest<SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest>
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
Constructor | Description |
---|---|
UpdateIndexShardSnapshotStatusRequest() |
|
UpdateIndexShardSnapshotStatusRequest(Snapshot snapshot,
ShardId shardId,
SnapshotsInProgress.ShardSnapshotStatus status) |
Modifier and Type | Method | Description |
---|---|---|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
ShardId |
shardId() |
|
Snapshot |
snapshot() |
|
SnapshotsInProgress.ShardSnapshotStatus |
status() |
|
java.lang.String |
toString() |
|
ActionRequestValidationException |
validate() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResult
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public UpdateIndexShardSnapshotStatusRequest()
public UpdateIndexShardSnapshotStatusRequest(Snapshot snapshot, ShardId shardId, SnapshotsInProgress.ShardSnapshotStatus status)
public ActionRequestValidationException validate()
validate
in class ActionRequest
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class MasterNodeRequest<SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class MasterNodeRequest<SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest>
java.io.IOException
public Snapshot snapshot()
public ShardId shardId()
public SnapshotsInProgress.ShardSnapshotStatus status()
public java.lang.String toString()
toString
in class java.lang.Object