Interface BalancePlanFactory
-
- All Known Implementing Classes:
BalancePlanFactoryImpl
public interface BalancePlanFactoryAllows plugins to createBalancePlans telling the Solr layer how to balance replicas following the processing of aBalanceRequest. The Solr layer can (and will) check that theBalancePlanconforms to theBalanceRequest(and if it does not, the requested operation will fail).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BalancePlancreateBalancePlan(BalanceRequest request, Map<Replica,Node> replicaMovements)Creates aBalancePlanfor balancing replicas across the given nodes.
-
-
-
Method Detail
-
createBalancePlan
BalancePlan createBalancePlan(BalanceRequest request, Map<Replica,Node> replicaMovements)
Creates aBalancePlanfor balancing replicas across the given nodes.This is in support (directly or indirectly) of
BalanceReplicasCmd}.
-
-