Package org.opensearch.gateway
Class TransportNodesListGatewayStartedShardsBatch.NodeGatewayStartedShardsBatch
java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.core.transport.TransportResponse
org.opensearch.action.support.nodes.BaseNodeResponse
org.opensearch.gateway.TransportNodesListGatewayStartedShardsBatch.NodeGatewayStartedShardsBatch
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
- Enclosing class:
TransportNodesListGatewayStartedShardsBatch
public static class TransportNodesListGatewayStartedShardsBatch.NodeGatewayStartedShardsBatch
extends BaseNodeResponse
This is the response from a single node, this is used in
TransportNodesListGatewayStartedShardsBatch.NodesGatewayStartedShardsBatch
for creating
node to its response mapping for this transport request.
Refer TransportNodesAction
start method- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.core.transport.TransportResponse
org.opensearch.core.transport.TransportResponse.Empty
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Constructor Summary
ConstructorsConstructorDescriptionNodeGatewayStartedShardsBatch
(DiscoveryNode node, Map<org.opensearch.core.index.shard.ShardId, TransportNodesGatewayStartedShardHelper.GatewayStartedShard> nodeGatewayStartedShardsBatch) NodeGatewayStartedShardsBatch
(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionMap
<org.opensearch.core.index.shard.ShardId, TransportNodesGatewayStartedShardHelper.GatewayStartedShard> void
writeTo
(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class org.opensearch.action.support.nodes.BaseNodeResponse
getNode
Methods inherited from class org.opensearch.core.transport.TransportMessage
remoteAddress, remoteAddress
-
Constructor Details
-
NodeGatewayStartedShardsBatch
public NodeGatewayStartedShardsBatch(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
NodeGatewayStartedShardsBatch
public NodeGatewayStartedShardsBatch(DiscoveryNode node, Map<org.opensearch.core.index.shard.ShardId, TransportNodesGatewayStartedShardHelper.GatewayStartedShard> nodeGatewayStartedShardsBatch)
-
-
Method Details
-
getNodeGatewayStartedShardsBatch
public Map<org.opensearch.core.index.shard.ShardId,TransportNodesGatewayStartedShardHelper.GatewayStartedShard> getNodeGatewayStartedShardsBatch() -
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Overrides:
writeTo
in classBaseNodeResponse
- Throws:
IOException
-