public class SnapshotIndexShardStatus extends BroadcastShardResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFailure()
Returns reason for snapshot failure
|
java.lang.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)
Set this object's fields from a StreamInput.
|
static SnapshotIndexShardStatus |
readShardSnapshotStatus(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getIndex, getShardIdremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic SnapshotIndexShardStage getStage()
public SnapshotStats getStats()
public java.lang.String getNodeId()
public java.lang.String getFailure()
public static SnapshotIndexShardStatus readShardSnapshotStatus(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class BroadcastShardResponsejava.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class BroadcastShardResponsejava.io.IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOException