public class TestingZooKeeperMain extends Object implements ZooKeeperMainFace
| Modifier and Type | Class and Description |
|---|---|
static class |
TestingZooKeeperMain.TestZooKeeperServer |
| Constructor and Description |
|---|
TestingZooKeeperMain() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(QuorumConfigBuilder configBuilder,
int instanceIndex) |
org.apache.zookeeper.server.quorum.QuorumPeerConfig |
getConfig() |
void |
kill() |
void |
start() |
public void kill()
kill in interface ZooKeeperMainFacepublic org.apache.zookeeper.server.quorum.QuorumPeerConfig getConfig()
throws Exception
getConfig in interface ZooKeeperMainFaceExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void configure(QuorumConfigBuilder configBuilder, int instanceIndex)
configure in interface ZooKeeperMainFacepublic void start()
start in interface ZooKeeperMainFaceCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.