Interface BalancePlanFactory
-
- All Known Implementing Classes:
BalancePlanFactoryImpl
public interface BalancePlanFactory
Allows plugins to createBalancePlan
s telling the Solr layer how to balance replicas following the processing of aBalanceRequest
. The Solr layer can (and will) check that theBalancePlan
conforms 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 BalancePlan
createBalancePlan(BalanceRequest request, Map<Replica,Node> replicaMovements)
Creates aBalancePlan
for balancing replicas across the given nodes.
-
-
-
Method Detail
-
createBalancePlan
BalancePlan createBalancePlan(BalanceRequest request, Map<Replica,Node> replicaMovements)
Creates aBalancePlan
for balancing replicas across the given nodes.This is in support (directly or indirectly) of
BalanceReplicasCmd
}.
-
-