public class CreateShardCmd extends Object implements OverseerCollectionMessageHandler.Cmd
Constructor and Description |
---|
CreateShardCmd(OverseerCollectionMessageHandler ocmh) |
Modifier and Type | Method and Description |
---|---|
static List<ReplicaPosition> |
buildReplicaPositions(SolrCloudManager cloudManager,
ClusterState clusterState,
String collectionName,
ZkNodeProps message,
AtomicReference<PolicyHelper.SessionWrapper> sessionWrapper) |
void |
call(ClusterState clusterState,
ZkNodeProps message,
NamedList results) |
public CreateShardCmd(OverseerCollectionMessageHandler ocmh)
public void call(ClusterState clusterState, ZkNodeProps message, NamedList results) throws Exception
call
in interface OverseerCollectionMessageHandler.Cmd
Exception
public static List<ReplicaPosition> buildReplicaPositions(SolrCloudManager cloudManager, ClusterState clusterState, String collectionName, ZkNodeProps message, AtomicReference<PolicyHelper.SessionWrapper> sessionWrapper) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.