Package org.apache.curator.test
Class TestingZooKeeperMain
java.lang.Object
org.apache.curator.test.TestingZooKeeperMain
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
void
kill()
void
start
(QuorumPeerConfigBuilder configBuilder)
-
Constructor Details
-
TestingZooKeeperMain
public TestingZooKeeperMain()
-
-
Method Details
-
kill
public void kill() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
start
-
getClientPort
public int getClientPort()
-