Class RestoreInProgress.ShardRestoreStatus

java.lang.Object
org.elasticsearch.cluster.RestoreInProgress.ShardRestoreStatus
All Implemented Interfaces:
Writeable
Enclosing class:
RestoreInProgress

public static class RestoreInProgress.ShardRestoreStatus extends Object implements Writeable
Represents status of a restored shard
  • Constructor Details

    • ShardRestoreStatus

      public ShardRestoreStatus(String nodeId)
      Constructs a new shard restore status in initializing state on the given node
      Parameters:
      nodeId - node id
    • ShardRestoreStatus

      public ShardRestoreStatus(String nodeId, RestoreInProgress.State state)
      Constructs a new shard restore status in with specified state on the given node
      Parameters:
      nodeId - node id
      state - restore state
    • ShardRestoreStatus

      public ShardRestoreStatus(String nodeId, RestoreInProgress.State state, String reason)
      Constructs a new shard restore status in with specified state on the given node with specified failure reason
      Parameters:
      nodeId - node id
      state - restore state
      reason - failure reason
  • Method Details