public class FailedShard
extends java.lang.Object
Constructor and Description |
---|
FailedShard(ShardRouting routingEntry,
java.lang.String message,
java.lang.Exception failure) |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getFailure()
The exception, if present, causing the shard to fail.
|
java.lang.String |
getMessage()
The failure message, if available, explaining why the shard failed.
|
ShardRouting |
getRoutingEntry()
The shard routing entry for the failed shard.
|
java.lang.String |
toString() |
public FailedShard(ShardRouting routingEntry, java.lang.String message, java.lang.Exception failure)
public java.lang.String toString()
toString
in class java.lang.Object
public ShardRouting getRoutingEntry()
@Nullable public java.lang.String getMessage()
@Nullable public java.lang.Exception getFailure()