Package org.elasticsearch.gateway
Class TransportNodesListGatewayStartedShards.NodeGatewayStartedShards
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.support.nodes.BaseNodeResponse
org.elasticsearch.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.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
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.Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
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
-