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,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment,org.elasticsearch.core.RefCounted
public class SnapshotIndexShardStatus
extends BroadcastShardResponse
implements org.elasticsearch.common.xcontent.ToXContentFragment
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> - 
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SnapshotIndexShardStatusfromXContent(org.elasticsearch.common.xcontent.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()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastShardResponse
getIndex, getShardIdMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment 
- 
Constructor Details
- 
SnapshotIndexShardStatus
- Throws:
 IOException
 
 - 
 - 
Method Details
- 
getStage
Returns snapshot stage - 
getStats
Returns snapshot stats - 
getNodeId
Returns node id of the node where snapshot is currently running - 
getFailure
Returns reason for snapshot failure - 
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
 writeToin interfaceWriteable- Overrides:
 writeToin classBroadcastShardResponse- Throws:
 IOException
 - 
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
 toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
 IOException
 - 
fromXContent
public static SnapshotIndexShardStatus fromXContent(org.elasticsearch.common.xcontent.XContentParser parser, String indexId) throws IOException- Throws:
 IOException
 - 
equals
 - 
hashCode
public int hashCode() 
 -