Class ShardStateAction.FailedShardEntry

org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.cluster.action.shard.ShardStateAction.FailedShardEntry
All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest
Enclosing class:
ShardStateAction

public static class ShardStateAction.FailedShardEntry extends TransportRequest
  • Constructor Details

    • FailedShardEntry

      public FailedShardEntry(ShardId shardId,  allocationId, long primaryTerm,  message, @Nullable  failure, boolean markAsStale)
  • Method Details

    • getShardId

      public ShardId getShardId()
    • getAllocationId

      public  getAllocationId()
    • writeTo

      public void writeTo(StreamOutput out) throws
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class TransportRequest
      Throws:
    • toString

      public  toString()
      Overrides:
      toString in class TransportRequest
    • equals

      public boolean equals( o)
      Overrides:
       in class 
    • hashCode

      public int hashCode()
      Overrides:
       in class