Uses of Class
org.elasticsearch.index.shard.IndexShardState
-
Packages that use IndexShardState Package Description org.elasticsearch.index.shard org.elasticsearch.indices.cluster -
-
Uses of IndexShardState in org.elasticsearch.index.shard
Fields in org.elasticsearch.index.shard declared as IndexShardState Modifier and Type Field Description protected IndexShardStateIndexShard. stateMethods in org.elasticsearch.index.shard that return IndexShardState Modifier and Type Method Description IndexShardStateIllegalIndexShardStateException. currentState()static IndexShardStateIndexShardState. fromId(byte id)IndexShardStateIndexShard. markAsRecovering(String reason, RecoveryState recoveryState)Marks the shard as recovering based on a recovery state, fails with exception is recovering is not allowed to be set.IndexShardStateIndexShard. state()static IndexShardStateIndexShardState. 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.Methods in org.elasticsearch.index.shard with parameters of type IndexShardState Modifier and Type Method Description default voidIndexEventListener. indexShardStateChanged(IndexShard indexShard, IndexShardState previousState, IndexShardState currentState, String reason)Called after a shard'sIndexShardStatechanges.Constructors in org.elasticsearch.index.shard with parameters of type IndexShardState Constructor Description IllegalIndexShardStateException(ShardId shardId, IndexShardState currentState, String msg, Object... args)IllegalIndexShardStateException(ShardId shardId, IndexShardState currentState, String msg, Throwable ex, Object... args)IndexShardNotRecoveringException(ShardId shardId, IndexShardState currentState)IndexShardNotStartedException(ShardId shardId, IndexShardState currentState)ShardNotInPrimaryModeException(ShardId shardId, IndexShardState currentState) -
Uses of IndexShardState in org.elasticsearch.indices.cluster
Methods in org.elasticsearch.indices.cluster that return IndexShardState Modifier and Type Method Description IndexShardStateIndicesClusterStateService.Shard. state()Returns the latest internal shard state.
-