Class RestoreInProgress.Entry

java.lang.Object
org.elasticsearch.cluster.RestoreInProgress.Entry
Enclosing class:
RestoreInProgress

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

    • 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 Details

    • uuid

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

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

      Returns list of shards that being restore and their status
      Returns:
      list of shards
    • state

      public RestoreInProgress.State state()
      Returns current restore state
      Returns:
      restore state
    • 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