|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShardsRoutingStrategy
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. |
Method Detail |
---|
RoutingTable applyStartedShards(ClusterState clusterState, java.lang.Iterable<? extends ShardRouting> startedShardEntries)
If the same instance of the routing table is returned, then no change has been made.
RoutingTable applyFailedShards(ClusterState clusterState, java.lang.Iterable<? extends ShardRouting> failedShardEntries)
If the same instance of the routing table is returned, then no change has been made.
RoutingTable reroute(ClusterState clusterState)
If the same instance of the routing table is returned, then no change has been made.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |