public static class RestoreInProgress.Entry extends Object
Constructor and Description |
---|
RestoreInProgress.Entry(SnapshotId snapshotId,
RestoreInProgress.State state,
List<String> indices,
com.google.common.collect.ImmutableMap<ShardId,RestoreInProgress.ShardRestoreStatus> shards)
Creates new restore metadata
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
List<String> |
indices()
Returns list of indices
|
com.google.common.collect.ImmutableMap<ShardId,RestoreInProgress.ShardRestoreStatus> |
shards()
Returns list of shards that being restore and their status
|
SnapshotId |
snapshotId()
Returns snapshot id
|
RestoreInProgress.State |
state()
Returns current restore state
|
public RestoreInProgress.Entry(SnapshotId snapshotId, RestoreInProgress.State state, List<String> indices, com.google.common.collect.ImmutableMap<ShardId,RestoreInProgress.ShardRestoreStatus> shards)
snapshotId
- snapshot idstate
- current state of the restore processindices
- list of indices being restoredshards
- list of shards being restored and thier current restore statuspublic SnapshotId snapshotId()
public com.google.common.collect.ImmutableMap<ShardId,RestoreInProgress.ShardRestoreStatus> shards()
public RestoreInProgress.State state()
Copyright © 2009–2017. All rights reserved.