|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.cluster.routing.strategy.DefaultShardsRoutingStrategy
public class DefaultShardsRoutingStrategy
Constructor Summary | |
---|---|
DefaultShardsRoutingStrategy()
|
Method Summary | |
---|---|
RoutingTable |
applyFailedShards(ClusterState clusterState,
java.lang.Iterable<? extends ShardRouting> failedShardEntries)
Applies the failed shards. |
RoutingTable |
applyStartedShards(ClusterState clusterState,
java.lang.Iterable<? extends ShardRouting> startedShardEntries)
Applies the started shards. |
RoutingTable |
reroute(ClusterState clusterState)
Reroutes the routing table based on the live nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultShardsRoutingStrategy()
Method Detail |
---|
public RoutingTable applyStartedShards(ClusterState clusterState, java.lang.Iterable<? extends ShardRouting> startedShardEntries)
ShardsRoutingStrategy
If the same instance of the routing table is returned, then no change has been made.
applyStartedShards
in interface ShardsRoutingStrategy
public RoutingTable applyFailedShards(ClusterState clusterState, java.lang.Iterable<? extends ShardRouting> failedShardEntries)
ShardsRoutingStrategy
If the same instance of the routing table is returned, then no change has been made.
applyFailedShards
in interface ShardsRoutingStrategy
public RoutingTable reroute(ClusterState clusterState)
ShardsRoutingStrategy
If the same instance of the routing table is returned, then no change has been made.
reroute
in interface ShardsRoutingStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |