Package org.apache.zookeeper.test.system
Class BaseSysTest
java.lang.Object
org.apache.zookeeper.test.system.BaseSysTest
- Direct Known Subclasses:
SimpleSysTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureClients
(int count, Class<? extends Instance> clazz, String params) void
configureServers
(int count) int
int
static void
void
setUp()
void
startClient
(int index) void
void
startServer
(int index) void
void
stopClient
(int index) void
void
stopServer
(int index) void
void
tearDown()
-
Field Details
-
prefix
-
-
Constructor Details
-
BaseSysTest
public BaseSysTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
getHostPort
-
getServerCount
public int getServerCount() -
getClientCount
public int getClientCount() -
startServers
- Throws:
IOException
-
stopServers
- Throws:
IOException
-
startClients
- Throws:
IOException
-
stopClients
- Throws:
IOException
-
configureServers
- Throws:
Exception
-
startServer
- Throws:
IOException
-
stopServer
- Throws:
IOException
-
configureClients
public void configureClients(int count, Class<? extends Instance> clazz, String params) throws Exception - Throws:
Exception
-
startClient
- Throws:
IOException
-
stopClient
- Throws:
IOException
-
main
-