Class ConfigNodeWrapper
java.lang.Object
org.apache.iotdb.it.env.cluster.node.AbstractNodeWrapper
org.apache.iotdb.it.env.cluster.node.ConfigNodeWrapper
- All Implemented Interfaces:
BaseNodeWrapper
-
Field Summary
Fields inherited from class org.apache.iotdb.it.env.cluster.node.AbstractNodeWrapper
clusterConfigProperties, clusterIndex, immutableCommonProperties, immutableNodeProperties, instance, isMultiCluster, jmxPort, jvmConfig, mutableCommonProperties, mutableNodeProperties, outputCommonConfig, portList, testClassName, testMethodName -
Constructor Summary
ConstructorsConstructorDescriptionConfigNodeWrapper(boolean isSeed, String targetCNs, String testClassName, String testMethodName, int[] portList, int clusterIndex, boolean isMultiCluster, long startTime) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddStartCmdParams(List<String> params) intprotected StringReturn the common config file path specified through system variableprotected StringReturn the node config file path specified through system variablefinal StringgetId()protected Stringprotected MppJVMConfigprotected voidprotected voidvoidsetConsensusPort(int consensusPort) Methods inherited from class org.apache.iotdb.it.env.cluster.node.AbstractNodeWrapper
changeConfig, createLogDir, createNodeDir, destroyDir, dumpJVMSnapshot, executeJstack, executeJstack, getDataPath, getIp, getIpAndPortString, getLogDirPath, getLogPath, getMetricPort, getNodePath, getPid, getPort, getTestLogDirName, isAlive, setKillPoints, setPort, start, stop, stopForcibly, workDirFilePath
-
Constructor Details
-
ConfigNodeWrapper
-
-
Method Details
-
getSystemConfigPath
- Specified by:
getSystemConfigPathin classAbstractNodeWrapper
-
getDefaultNodeConfigPath
Description copied from class:AbstractNodeWrapperReturn the node config file path specified through system variable- Specified by:
getDefaultNodeConfigPathin classAbstractNodeWrapper
-
getDefaultCommonConfigPath
Description copied from class:AbstractNodeWrapperReturn the common config file path specified through system variable- Specified by:
getDefaultCommonConfigPathin classAbstractNodeWrapper
-
getSystemPropertiesPath
- Specified by:
getSystemPropertiesPathin classAbstractNodeWrapper
-
initVMConfig
- Specified by:
initVMConfigin classAbstractNodeWrapper
-
getId
-
addStartCmdParams
- Specified by:
addStartCmdParamsin classAbstractNodeWrapper
-
reloadMutableFields
protected void reloadMutableFields()- Specified by:
reloadMutableFieldsin classAbstractNodeWrapper
-
renameFile
protected void renameFile()- Specified by:
renameFilein classAbstractNodeWrapper
-
setConsensusPort
public void setConsensusPort(int consensusPort) -
getConsensusPort
public int getConsensusPort()
-