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) |
static boolean |
usePolicyFramework(ZkStateReader zkStateReader,
ZkNodeProps message) |
public CreateCollectionCmd(OverseerCollectionMessageHandler ocmh)
public void call(ClusterState clusterState, ZkNodeProps message, NamedList results) throws Exception
Exceptionpublic static void createCollectionZkNode(SolrZkClient zkClient, String collection, Map<String,String> params)
public static boolean usePolicyFramework(ZkStateReader zkStateReader, ZkNodeProps message)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.