Class TransportNodesSnapshotsStatus.NodeSnapshotStatus
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.support.nodes.BaseNodeResponse
org.elasticsearch.action.admin.cluster.snapshots.status.TransportNodesSnapshotsStatus.NodeSnapshotStatus
- All Implemented Interfaces:
Writeable
,org.elasticsearch.core.RefCounted
- Enclosing class:
- TransportNodesSnapshotsStatus
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionNodeSnapshotStatus(DiscoveryNode node, Map<Snapshot,Map<ShardId,SnapshotIndexShardStatus>> status)
-
Method Summary
Modifier and TypeMethodDescriptionstatus()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodeResponse
getNode
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
-
Constructor Details
-
NodeSnapshotStatus
- Throws:
IOException
-
NodeSnapshotStatus
public NodeSnapshotStatus(DiscoveryNode node, Map<Snapshot,Map<ShardId,SnapshotIndexShardStatus>> status)
-
-
Method Details
-
status
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBaseNodeResponse
- Throws:
IOException
-