Class FailedShard


  • public class FailedShard
    extends Object
    A class representing a failed shard.
    • Method Detail

      • getRoutingEntry

        public ShardRouting getRoutingEntry()
        The shard routing entry for the failed shard.
      • getMessage

        @Nullable
        public String getMessage()
        The failure message, if available, explaining why the shard failed.
      • getFailure

        @Nullable
        public Exception getFailure()
        The exception, if present, causing the shard to fail.
      • markAsStale

        public boolean markAsStale()
        Whether or not to mark the shard as stale (eg. removing from in-sync set) when failing the shard.