Class RestoreInProgress.Entry

  • Enclosing class:
    RestoreInProgress

    public static class RestoreInProgress.Entry
    extends java.lang.Object
    Restore metadata
    • Constructor Detail

      • Entry

        public Entry​(java.lang.String uuid,
                     Snapshot snapshot,
                     RestoreInProgress.State state,
                     java.util.List<java.lang.String> indices,
                     ImmutableOpenMap<ShardId,​RestoreInProgress.ShardRestoreStatus> shards)
        Creates new restore metadata
        Parameters:
        uuid - uuid of the restore
        snapshot - snapshot
        state - current state of the restore process
        indices - list of indices being restored
        shards - map of shards being restored to their current restore status
    • Method Detail

      • uuid

        public java.lang.String uuid()
        Returns restore uuid
        Returns:
        restore uuid
      • snapshot

        public Snapshot snapshot()
        Returns snapshot
        Returns:
        snapshot
      • indices

        public java.util.List<java.lang.String> indices()
        Returns list of indices
        Returns:
        list of indices
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object