public class SnapshotIndexShardStatus extends BroadcastShardResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getFailure()
Returns reason for snapshot failure
|
String |
getNodeId()
Returns node id of the node where snapshot is currently running
|
SnapshotIndexShardStage |
getStage()
Returns snapshot stage
|
SnapshotStats |
getStats()
Returns snapshot stats
|
void |
readFrom(StreamInput in) |
static SnapshotIndexShardStatus |
readShardSnapshotStatus(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getIndex, getShardIdremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic SnapshotIndexShardStage getStage()
public SnapshotStats getStats()
public String getNodeId()
public String getFailure()
public static SnapshotIndexShardStatus readShardSnapshotStatus(StreamInput in) throws IOException
IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 BroadcastShardResponseIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 BroadcastShardResponseIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.