Package org.opensearch.gateway
Class TransportNodesListGatewayStartedShards.NodeGatewayStartedShards
java.lang.Object
org.opensearch.transport.TransportMessage
org.opensearch.transport.TransportResponse
org.opensearch.action.support.nodes.BaseNodeResponse
org.opensearch.gateway.TransportNodesListGatewayStartedShards.NodeGatewayStartedShards
- All Implemented Interfaces:
Writeable
- Enclosing class:
- TransportNodesListGatewayStartedShards
public static class TransportNodesListGatewayStartedShards.NodeGatewayStartedShards extends BaseNodeResponse
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description NodeGatewayStartedShards(DiscoveryNode node, java.lang.String allocationId, boolean primary)
NodeGatewayStartedShards(DiscoveryNode node, java.lang.String allocationId, boolean primary, java.lang.Exception storeException)
NodeGatewayStartedShards(StreamInput in)
-
Method Summary
Modifier and Type Method Description java.lang.String
allocationId()
boolean
equals(java.lang.Object o)
int
hashCode()
boolean
primary()
java.lang.Exception
storeException()
java.lang.String
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
NodeGatewayStartedShards
- Throws:
java.io.IOException
-
NodeGatewayStartedShards
public NodeGatewayStartedShards(DiscoveryNode node, java.lang.String allocationId, boolean primary) -
NodeGatewayStartedShards
public NodeGatewayStartedShards(DiscoveryNode node, java.lang.String allocationId, boolean primary, java.lang.Exception storeException)
-
-
Method Details
-
allocationId
public java.lang.String allocationId() -
primary
public boolean primary() -
storeException
public java.lang.Exception storeException() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBaseNodeResponse
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-