public static class SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest extends TransportRequest
TransportRequest.Emptyheaders| 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, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest()
public SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest(SnapshotId snapshotId, ShardId shardId, SnapshotsInProgress.ShardSnapshotStatus status)
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class TransportMessage<TransportRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class TransportMessage<TransportRequest>IOExceptionpublic SnapshotId snapshotId()
public ShardId shardId()
public SnapshotsInProgress.ShardSnapshotStatus status()
public void markAsProcessed()
public boolean isProcessed()
Copyright © 2009–2017. All rights reserved.