Package org.elasticsearch.index.shard
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
-
-
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)
-
-
-
Field Detail
-
routing
public final ShardRouting routing
-
reason
public final java.lang.String reason
-
cause
@Nullable public final java.lang.Exception cause
-
-
Constructor Detail
-
ShardFailure
public ShardFailure(ShardRouting routing, java.lang.String reason, @Nullable java.lang.Exception cause)
-
-