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