Package org.apache.iotdb.itbase.env
Interface BaseNodeWrapper
- All Known Implementing Classes:
AbstractNodeWrapper,AINodeWrapper,ConfigNodeWrapper,DataNodeWrapper
public interface BaseNodeWrapper
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidPerform jstack on the process corresponding to the wrapper, and use logger to output the results.voidexecuteJstack(String testCaseName) Perform jstack on the process corresponding to the wrapper, and output the results to a file in the log directory.getId()getIp()intlonggetPid()intgetPort()booleanisAlive()voidstart()voidstop()void
-
Method Details
-
createNodeDir
void createNodeDir() -
createLogDir
void createLogDir() -
destroyDir
void destroyDir() -
start
void start() -
stop
void stop() -
stopForcibly
void stopForcibly() -
isAlive
boolean isAlive() -
getIp
String getIp() -
getPort
int getPort() -
getMetricPort
int getMetricPort() -
getId
String getId() -
getIpAndPortString
String getIpAndPortString() -
executeJstack
void executeJstack()Perform jstack on the process corresponding to the wrapper, and use logger to output the results. -
executeJstack
Perform jstack on the process corresponding to the wrapper, and output the results to a file in the log directory.- Parameters:
testCaseName- the name of test case
-
getPid
long getPid()
-