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.
|
createTask, getDescription, getParentTask, setParentTask, setParentTaskremoteAddress, remoteAddresspublic UpdateIndexShardSnapshotStatusRequest()
public UpdateIndexShardSnapshotStatusRequest(Snapshot snapshot, ShardId shardId, SnapshotsInProgress.ShardSnapshotStatus status)
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class TransportRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class TransportRequestjava.io.IOExceptionpublic Snapshot snapshot()
public ShardId shardId()
public SnapshotsInProgress.ShardSnapshotStatus status()
public java.lang.String toString()
toString in class java.lang.Objectpublic void markAsProcessed()
public boolean isProcessed()