public static class SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest extends MasterNodeRequest<SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest>
TransportRequest.EmptyDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout| Constructor and Description |
|---|
UpdateIndexShardSnapshotStatusRequest() |
UpdateIndexShardSnapshotStatusRequest(Snapshot snapshot,
ShardId shardId,
SnapshotsInProgress.ShardSnapshotStatus status) |
| Modifier and Type | Method and 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.
|
masterNodeTimeout, masterNodeTimeout, masterNodeTimeoutgetShouldStoreResultgetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateTask, getDescription, setParentTaskpublic UpdateIndexShardSnapshotStatusRequest()
public UpdateIndexShardSnapshotStatusRequest(Snapshot snapshot, ShardId shardId, SnapshotsInProgress.ShardSnapshotStatus status)
public ActionRequestValidationException validate()
validate in class ActionRequestpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class MasterNodeRequest<SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class MasterNodeRequest<SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest>java.io.IOExceptionpublic Snapshot snapshot()
public ShardId shardId()
public SnapshotsInProgress.ShardSnapshotStatus status()
public java.lang.String toString()
toString in class java.lang.Object