public class CreateCollectionCmd extends Object
Constructor and Description |
---|
CreateCollectionCmd(OverseerCollectionMessageHandler ocmh) |
Modifier and Type | Method and Description |
---|---|
void |
call(ClusterState clusterState,
ZkNodeProps message,
NamedList results) |
static void |
createCollectionZkNode(SolrZkClient zkClient,
String collection,
Map<String,String> params) |
public CreateCollectionCmd(OverseerCollectionMessageHandler ocmh)
public void call(ClusterState clusterState, ZkNodeProps message, NamedList results) throws Exception
Exception
public static void createCollectionZkNode(SolrZkClient zkClient, String collection, Map<String,String> params)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.