public static class SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest extends TransportRequest
TransportRequest.Empty
Constructor and Description |
---|
UpdateIndexShardSnapshotStatusRequest() |
UpdateIndexShardSnapshotStatusRequest(Snapshot snapshot,
ShardId shardId,
SnapshotsInProgress.ShardSnapshotStatus status) |
Modifier and Type | Method and Description |
---|---|
boolean |
isProcessed() |
void |
markAsProcessed() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
ShardId |
shardId() |
Snapshot |
snapshot() |
SnapshotsInProgress.ShardSnapshotStatus |
status() |
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createTask, getDescription, setParentTask
public UpdateIndexShardSnapshotStatusRequest()
public UpdateIndexShardSnapshotStatusRequest(Snapshot snapshot, ShardId shardId, SnapshotsInProgress.ShardSnapshotStatus status)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class TransportRequest
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class TransportRequest
java.io.IOException
public Snapshot snapshot()
public ShardId shardId()
public SnapshotsInProgress.ShardSnapshotStatus status()
public java.lang.String toString()
toString
in class java.lang.Object
public void markAsProcessed()
public boolean isProcessed()