public static class Assign.PolicyBasedAssignStrategy extends Object implements Assign.AssignStrategy
Modifier and Type | Field and Description |
---|---|
String |
policyName |
Constructor and Description |
---|
PolicyBasedAssignStrategy(String policyName) |
Modifier and Type | Method and Description |
---|---|
List<ReplicaPosition> |
assign(SolrCloudManager solrCloudManager,
Assign.AssignRequest assignRequest) |
public String policyName
public PolicyBasedAssignStrategy(String policyName)
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.