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.CmdExceptionpublic static List<ReplicaPosition> buildReplicaPositions(SolrCloudManager cloudManager, ClusterState clusterState, String collectionName, ZkNodeProps message, AtomicReference<PolicyHelper.SessionWrapper> sessionWrapper) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.