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.StringallocationId()booleanequals(java.lang.Object o)inthashCode()booleanprimary()java.lang.ExceptionstoreException()java.lang.StringtoString()voidwriteTo(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
remoteAddress, remoteAddress
-
-
-
-
Constructor Detail
-
NodeGatewayStartedShards
public NodeGatewayStartedShards(StreamInput in) throws java.io.IOException
- 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 Detail
-
allocationId
public java.lang.String allocationId()
-
primary
public boolean primary()
-
storeException
public java.lang.Exception storeException()
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBaseNodeResponse- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-