Package | Description |
---|---|
org.elasticsearch.index.shard | |
org.elasticsearch.indices |
Modifier and Type | Field and Description |
---|---|
protected IndexShardState |
IndexShard.state |
Modifier and Type | Method and Description |
---|---|
IndexShardState |
IllegalIndexShardStateException.currentState() |
static IndexShardState |
IndexShardState.fromId(byte id) |
IndexShardState |
IndexShard.recovering(String reason,
RecoveryState.Type type,
DiscoveryNode sourceNode)
Marks the shard as recovering based on a remote or local node, fails with exception is recovering is not allowed to be set.
|
IndexShardState |
IndexShard.recovering(String reason,
RecoveryState.Type type,
RestoreSource restoreSource)
Marks the shard as recovering based on a restore, fails with exception is recovering is not allowed to be set.
|
IndexShardState |
IndexShard.state() |
static IndexShardState |
IndexShardState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexShardState[] |
IndexShardState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
IllegalIndexShardStateException(ShardId shardId,
IndexShardState currentState,
String msg) |
IllegalIndexShardStateException(ShardId shardId,
IndexShardState currentState,
String msg,
Throwable ex) |
IndexShardNotRecoveringException(ShardId shardId,
IndexShardState currentState) |
IndexShardNotStartedException(ShardId shardId,
IndexShardState currentState) |
Modifier and Type | Method and Description |
---|---|
void |
IndicesLifecycle.Listener.indexShardStateChanged(IndexShard indexShard,
IndexShardState previousState,
IndexShardState currentState,
String reason)
Called after a shard's
IndexShardState changes. |
void |
InternalIndicesLifecycle.indexShardStateChanged(IndexShard indexShard,
IndexShardState previousState,
String reason) |
Copyright © 2009–2016. All rights reserved.