Interface BalancePlanFactory
- All Known Implementing Classes:
BalancePlanFactoryImpl
public interface BalancePlanFactory
Allows plugins to create
BalancePlans telling the Solr layer how to balance replicas
following the processing of a BalanceRequest. The Solr layer can (and will) check that
the BalancePlan conforms to the BalanceRequest (and if it does not, the requested
operation will fail).-
Method Summary
Modifier and TypeMethodDescriptioncreateBalancePlan(BalanceRequest request, Map<Replica, Node> replicaMovements) Creates aBalancePlanfor balancing replicas across the given nodes.
-
Method Details
-
createBalancePlan
Creates aBalancePlanfor balancing replicas across the given nodes.This is in support (directly or indirectly) of
BalanceReplicasCmd}.
-