public class RestoreMetaData extends Object implements MetaData.Custom
Modifier and Type | Class and Description |
---|---|
static class |
RestoreMetaData.Entry
Restore metadata
|
static class |
RestoreMetaData.Factory
Restore metadata factory
|
static class |
RestoreMetaData.ShardRestoreStatus
Represents status of a restored shard
|
static class |
RestoreMetaData.State
Shard restore process state
|
Modifier and Type | Field and Description |
---|---|
static RestoreMetaData.Factory |
FACTORY |
static String |
TYPE |
Constructor and Description |
---|
RestoreMetaData(com.google.common.collect.ImmutableList<RestoreMetaData.Entry> entries)
Constructs new restore metadata
|
RestoreMetaData(RestoreMetaData.Entry... entries)
Constructs new restore metadata
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<RestoreMetaData.Entry> |
entries()
Returns list of currently running restore processes
|
boolean |
equals(Object o) |
int |
hashCode() |
RestoreMetaData.Entry |
snapshot(SnapshotId snapshotId)
Returns currently running restore process with corresponding snapshot id or null if this snapshot is not being
restored
|
public static final String TYPE
public static final RestoreMetaData.Factory FACTORY
public RestoreMetaData(com.google.common.collect.ImmutableList<RestoreMetaData.Entry> entries)
entries
- list of currently running restore processespublic RestoreMetaData(RestoreMetaData.Entry... entries)
entries
- list of currently running restore processespublic com.google.common.collect.ImmutableList<RestoreMetaData.Entry> entries()
public RestoreMetaData.Entry snapshot(SnapshotId snapshotId)
snapshotId
- snapshot idCopyright © 2009–2015. All rights reserved.