Class ShardStateAction.FailedShardEntry

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.cluster.action.shard.ShardStateAction.FailedShardEntry
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest
Enclosing class:
ShardStateAction

public static class ShardStateAction.FailedShardEntry
extends TransportRequest
  • Constructor Details

    • FailedShardEntry

      public FailedShardEntry​(ShardId shardId, java.lang.String allocationId, long primaryTerm, java.lang.String message, @Nullable java.lang.Exception failure, boolean markAsStale)
  • Method Details

    • getShardId

      public ShardId getShardId()
    • getAllocationId

      public java.lang.String getAllocationId()
    • 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 TransportRequest
      Throws:
      java.io.IOException
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • 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