Class IndexShard.ShardFailure

java.lang.Object
org.elasticsearch.index.shard.IndexShard.ShardFailure
Enclosing class:
IndexShard

public static final class IndexShard.ShardFailure
extends java.lang.Object
Simple struct encapsulating a shard failure
See Also:
IndexShard.addShardFailureCallback(Consumer)
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.Exception cause  
    java.lang.String reason  
    ShardRouting routing  
  • Constructor Summary

    Constructors
    Constructor Description
    ShardFailure​(ShardRouting routing, java.lang.String reason, java.lang.Exception cause)  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • routing

      public final ShardRouting routing
    • reason

      public final java.lang.String reason
    • cause

      @Nullable public final java.lang.Exception cause
  • Constructor Details

    • ShardFailure

      public ShardFailure​(ShardRouting routing, java.lang.String reason, @Nullable java.lang.Exception cause)