public class ZkContainer extends Object
Modifier and Type | Field and Description |
---|---|
static Predicate<CoreDescriptor> |
testing_beforeRegisterInZk |
protected ZkController |
zkController |
Constructor and Description |
---|
ZkContainer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ExecutorService |
getCoreZkRegisterExecutorService() |
ZkController |
getZkController() |
void |
initZooKeeper(CoreContainer cc,
String solrHome,
CloudConfig config) |
void |
registerInZk(SolrCore core,
boolean background,
boolean skipRecovery) |
protected ZkController zkController
public static volatile Predicate<CoreDescriptor> testing_beforeRegisterInZk
public void initZooKeeper(CoreContainer cc, String solrHome, CloudConfig config)
public void registerInZk(SolrCore core, boolean background, boolean skipRecovery)
public ZkController getZkController()
public void close()
public ExecutorService getCoreZkRegisterExecutorService()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.