Class IndexShard.ShardFailure

org.elasticsearch.index.shard.IndexShard.ShardFailure
Enclosing class:
IndexShard

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

    Fields
    Modifier and Type
    Field
    Description
     
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShardFailure​(ShardRouting routing,  reason,  cause)
     
  • Method Summary

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Field Details

    • routing

      public final ShardRouting routing
    • reason

      public final  reason
    • cause

      @Nullable public final  cause
  • Constructor Details

    • ShardFailure

      public ShardFailure(ShardRouting routing,  reason, @Nullable  cause)