public static class SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest extends TransportRequest
TransportRequest.Empty
headers
Constructor and Description |
---|
SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest() |
SnapshotShardsService.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 SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest()
public SnapshotShardsService.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–2017. All rights reserved.