Class RestoreInProgress.ShardRestoreStatus

  • Enclosing class:
    RestoreInProgress

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

      • 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