public static class Assign.RulesBasedAssignStrategy extends Object implements Assign.AssignStrategy
Modifier and Type | Field and Description |
---|---|
ClusterState |
clusterState |
List<Rule> |
rules |
List |
snitches |
Constructor and Description |
---|
RulesBasedAssignStrategy(List<Rule> rules,
List snitches,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
List<ReplicaPosition> |
assign(SolrCloudManager solrCloudManager,
Assign.AssignRequest assignRequest) |
public List snitches
public ClusterState clusterState
public RulesBasedAssignStrategy(List<Rule> rules, List snitches, ClusterState clusterState)
public List<ReplicaPosition> assign(SolrCloudManager solrCloudManager, Assign.AssignRequest assignRequest) throws Assign.AssignmentException, IOException, InterruptedException
assign
in interface Assign.AssignStrategy
Assign.AssignmentException
IOException
InterruptedException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.