public static class RestoreMetaData.Entry extends Object
| Constructor and Description |
|---|
Entry(SnapshotId snapshotId,
RestoreMetaData.State state,
com.google.common.collect.ImmutableList<String> indices,
com.google.common.collect.ImmutableMap<ShardId,RestoreMetaData.ShardRestoreStatus> shards)
Creates new restore metadata
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
com.google.common.collect.ImmutableList<String> |
indices()
Returns list of indices
|
com.google.common.collect.ImmutableMap<ShardId,RestoreMetaData.ShardRestoreStatus> |
shards()
Returns list of shards that being restore and their status
|
SnapshotId |
snapshotId()
Returns snapshot id
|
RestoreMetaData.State |
state()
Returns current restore state
|
public Entry(SnapshotId snapshotId, RestoreMetaData.State state, com.google.common.collect.ImmutableList<String> indices, com.google.common.collect.ImmutableMap<ShardId,RestoreMetaData.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,RestoreMetaData.ShardRestoreStatus> shards()
public RestoreMetaData.State state()
public com.google.common.collect.ImmutableList<String> indices()
Copyright © 2009–2016. All rights reserved.