public static class SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest extends TransportRequest
TransportRequest.Empty
headers
Constructor and Description |
---|
UpdateIndexShardSnapshotStatusRequest() |
UpdateIndexShardSnapshotStatusRequest(SnapshotId snapshotId,
ShardId shardId,
SnapshotsInProgress.ShardSnapshotStatus status) |
Modifier and Type | Method and Description |
---|---|
boolean |
isProcessed() |
void |
markAsProcessed() |
void |
readFrom(StreamInput in) |
ShardId |
shardId() |
SnapshotId |
snapshotId() |
SnapshotsInProgress.ShardSnapshotStatus |
status() |
String |
toString() |
void |
writeTo(StreamOutput out) |
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public UpdateIndexShardSnapshotStatusRequest()
public UpdateIndexShardSnapshotStatusRequest(SnapshotId snapshotId, ShardId shardId, SnapshotsInProgress.ShardSnapshotStatus status)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class TransportMessage<TransportRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class TransportMessage<TransportRequest>
IOException
public SnapshotId snapshotId()
public ShardId shardId()
public SnapshotsInProgress.ShardSnapshotStatus status()
public void markAsProcessed()
public boolean isProcessed()
Copyright © 2009–2016. All rights reserved.