Package | Description |
---|---|
org.elasticsearch.cluster | |
org.elasticsearch.cluster.routing | |
org.elasticsearch.cluster.routing.allocation |
Modifier and Type | Method and Description |
---|---|
RoutingNodes |
ClusterState.getRoutingNodes() |
RoutingNodes |
ClusterState.readOnlyRoutingNodes()
Returns a built (on demand) routing nodes view of the routing table.
|
RoutingNodes |
ClusterState.routingNodes() |
Modifier and Type | Method and Description |
---|---|
RoutingNodes |
RoutingTable.routingNodes(ClusterState state) |
Modifier and Type | Method and Description |
---|---|
static boolean |
RoutingNodes.assertShardStats(RoutingNodes routingNodes)
Calculates RoutingNodes statistics by iterating over all
MutableShardRouting s
in the cluster to ensure the book-keeping is correct. |
RoutingTable.Builder |
RoutingTable.Builder.updateNodes(RoutingNodes routingNodes) |
Modifier and Type | Method and Description |
---|---|
RoutingNodes |
RoutingAllocation.routingNodes()
Get current routing nodes
|
Constructor and Description |
---|
FailedRerouteAllocation(AllocationDeciders deciders,
RoutingNodes routingNodes,
DiscoveryNodes nodes,
List<ShardRouting> failedShards,
ClusterInfo clusterInfo) |
RoutingAllocation(AllocationDeciders deciders,
RoutingNodes routingNodes,
DiscoveryNodes nodes,
ClusterInfo clusterInfo)
Creates a new
RoutingAllocation |
StartedRerouteAllocation(AllocationDeciders deciders,
RoutingNodes routingNodes,
DiscoveryNodes nodes,
List<? extends ShardRouting> startedShards,
ClusterInfo clusterInfo) |
Copyright © 2009–2015. All rights reserved.