Package | Description |
---|---|
org.elasticsearch.cluster.routing |
Modifier and Type | Method and Description |
---|---|
static ShardRoutingState |
ShardRoutingState.fromValue(byte value) |
ShardRoutingState |
ShardRouting.state()
The shard state.
|
static ShardRoutingState |
ShardRoutingState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShardRoutingState[] |
ShardRoutingState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
RoutingNode.numberOfShardsWithState(ShardRoutingState... states)
Determine the number of shards with a specific state
|
List<ShardRouting> |
IndexShardRoutingTable.replicaShardsWithState(ShardRoutingState... states) |
List<ShardRouting> |
RoutingNodes.shardsWithState(ShardRoutingState... state) |
List<ShardRouting> |
RoutingNode.shardsWithState(ShardRoutingState... states)
Determine the shards with a specific state
|
List<ShardRouting> |
RoutingTable.shardsWithState(ShardRoutingState state) |
List<ShardRouting> |
IndexShardRoutingTable.shardsWithState(ShardRoutingState state) |
List<ShardRouting> |
IndexRoutingTable.shardsWithState(ShardRoutingState state)
|
List<ShardRouting> |
RoutingNodes.shardsWithState(String index,
ShardRoutingState... state) |
List<ShardRouting> |
RoutingNode.shardsWithState(String index,
ShardRoutingState... states)
Determine the shards of an index with a specific state
|
Copyright © 2009–2016. All rights reserved.