Package org.elasticsearch.cluster
Class RestoreInProgress.Entry
java.lang.Object
org.elasticsearch.cluster.RestoreInProgress.Entry
- Enclosing class:
- RestoreInProgress
Restore metadata
-
Constructor Summary
ConstructorDescriptionEntry(String uuid, Snapshot snapshot, RestoreInProgress.State state, List<String> indices, ImmutableOpenMap<ShardId,RestoreInProgress.ShardRestoreStatus> shards)
Creates new restore metadata -
Method Summary
-
Constructor Details
-
Entry
public Entry(String uuid, Snapshot snapshot, RestoreInProgress.State state, List<String> indices, ImmutableOpenMap<ShardId,RestoreInProgress.ShardRestoreStatus> shards)Creates new restore metadata- Parameters:
uuid
- uuid of the restoresnapshot
- snapshotstate
- current state of the restore processindices
- list of indices being restoredshards
- map of shards being restored to their current restore status
-
-
Method Details
-
uuid
Returns restore uuid- Returns:
- restore uuid
-
snapshot
Returns snapshot- Returns:
- snapshot
-
shards
Returns list of shards that being restore and their status- Returns:
- list of shards
-
state
Returns current restore state- Returns:
- restore state
-
indices
Returns list of indices- Returns:
- list of indices
-
equals
-
hashCode
public int hashCode()
-