Uses of Class
org.elasticsearch.cluster.routing.ShardRoutingState
-
Packages that use ShardRoutingState Package Description org.elasticsearch.action.admin.cluster.allocation org.elasticsearch.cluster.routing -
-
Uses of ShardRoutingState in org.elasticsearch.action.admin.cluster.allocation
Methods in org.elasticsearch.action.admin.cluster.allocation that return ShardRoutingState Modifier and Type Method Description ShardRoutingStateClusterAllocationExplanation. getShardState()Returns the currentShardRoutingStateof the shard. -
Uses of ShardRoutingState in org.elasticsearch.cluster.routing
Methods in org.elasticsearch.cluster.routing that return ShardRoutingState Modifier and Type Method Description static ShardRoutingStateShardRoutingState. fromValue(byte value)ShardRoutingStateShardRouting. state()The shard state.static ShardRoutingStateShardRoutingState. 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.Methods in org.elasticsearch.cluster.routing with parameters of type ShardRoutingState Modifier and Type Method Description intRoutingNode. numberOfShardsWithState(ShardRoutingState... states)Determine the number of shards with a specific stateList<ShardRouting>IndexShardRoutingTable. replicaShardsWithState(ShardRoutingState... states)List<ShardRouting>IndexRoutingTable. shardsWithState(ShardRoutingState state)List<ShardRouting>IndexShardRoutingTable. shardsWithState(ShardRoutingState state)List<ShardRouting>RoutingNode. shardsWithState(String index, ShardRoutingState... states)Determine the shards of an index with a specific stateList<ShardRouting>RoutingNode. shardsWithState(ShardRoutingState... states)Determine the shards with a specific stateList<ShardRouting>RoutingNodes. shardsWithState(String index, ShardRoutingState... state)List<ShardRouting>RoutingNodes. shardsWithState(ShardRoutingState... state)List<ShardRouting>RoutingTable. shardsWithState(ShardRoutingState state)
-