Package | Description |
---|---|
org.elasticsearch.cluster.metadata |
Modifier and Type | Method and Description |
---|---|
static RestoreMetaData.State |
RestoreMetaData.State.fromValue(byte value)
Returns state corresponding to state code
|
RestoreMetaData.State |
RestoreMetaData.Entry.state()
Returns current restore state
|
RestoreMetaData.State |
RestoreMetaData.ShardRestoreStatus.state()
Returns current state
|
static RestoreMetaData.State |
RestoreMetaData.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestoreMetaData.State[] |
RestoreMetaData.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
|
ShardRestoreStatus(String nodeId,
RestoreMetaData.State state)
Constructs a new shard restore status in with specified state on the given node
|
ShardRestoreStatus(String nodeId,
RestoreMetaData.State state,
String reason)
Constructs a new shard restore status in with specified state on the given node with specified failure reason
|
Copyright © 2009–2015. All rights reserved.