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, String allocationId, boolean primary)NodeGatewayStartedShards(DiscoveryNode node, String allocationId, boolean primary, Exception storeException)NodeGatewayStartedShards(StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringallocationId()booleanequals(Object o)inthashCode()booleanprimary()ExceptionstoreException()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 IOException
- Throws:
IOException
-
NodeGatewayStartedShards
public NodeGatewayStartedShards(DiscoveryNode node, String allocationId, boolean primary)
-
NodeGatewayStartedShards
public NodeGatewayStartedShards(DiscoveryNode node, String allocationId, boolean primary, Exception storeException)
-
-
Method Detail
-
allocationId
public String allocationId()
-
primary
public boolean primary()
-
storeException
public Exception storeException()
-
writeTo
public void writeTo(StreamOutput out) throws IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBaseNodeResponse- Throws:
IOException
-
-