Module org.elasticsearch.server
Class SnapshotIndexShardStatus
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.support.broadcast.BroadcastShardResponse
org.elasticsearch.action.admin.cluster.snapshots.status.SnapshotIndexShardStatus
- All Implemented Interfaces:
- Writeable,- RefCounted,- ToXContent,- ToXContentFragment
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponseTransportResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanstatic SnapshotIndexShardStatusfromXContent(XContentParser parser, String indexId) Returns reason for snapshot failureReturns node id of the node where snapshot is currently runninggetStage()Returns snapshot stagegetStats()Returns snapshot statsinthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastShardResponsegetIndex, getShardIdMethods inherited from class org.elasticsearch.transport.TransportMessagedecRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragmentisFragment
- 
Constructor Details- 
SnapshotIndexShardStatus- Throws:
- IOException
 
 
- 
- 
Method Details- 
getStageReturns snapshot stage
- 
getStatsReturns snapshot stats
- 
getNodeIdReturns node id of the node where snapshot is currently running
- 
getFailureReturns reason for snapshot failure
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- BroadcastShardResponse
- Throws:
- IOException
 
- 
toXContentpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
- toXContentin interface- ToXContent
- Throws:
- IOException
 
- 
fromXContentpublic static SnapshotIndexShardStatus fromXContent(XContentParser parser, String indexId) throws IOException - Throws:
- IOException
 
- 
equals
- 
hashCodepublic int hashCode()
 
-