Class TransportNodesListGatewayStartedShards.NodeGatewayStartedShards

java.lang.Object
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted
Enclosing class:
TransportNodesListGatewayStartedShards

public static class TransportNodesListGatewayStartedShards.NodeGatewayStartedShards
extends BaseNodeResponse
  • Constructor Details

    • 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 Details

    • 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: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class BaseNodeResponse
      Throws:
      java.io.IOException
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object