Class DataNodeWrapper
java.lang.Object
org.apache.iotdb.it.env.cluster.node.AbstractNodeWrapper
org.apache.iotdb.it.env.cluster.node.DataNodeWrapper
- 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
ConstructorsConstructorDescriptionDataNodeWrapper(String seedConfigNode, 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()intintintintintintprotected Stringprotected MppJVMConfigprotected voidvoidvoidsetInternalPort(int internalPort) voidsetMppDataExchangePort(int mppDataExchangePort) 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
-
DataNodeWrapper
-
-
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
public void renameFile()- Specified by:
renameFilein classAbstractNodeWrapper
-
getMppDataExchangePort
public int getMppDataExchangePort() -
setMppDataExchangePort
public void setMppDataExchangePort(int mppDataExchangePort) -
getInternalAddress
-
getInternalPort
public int getInternalPort() -
setInternalPort
public void setInternalPort(int internalPort) -
getDataRegionConsensusPort
public int getDataRegionConsensusPort() -
getSchemaRegionConsensusPort
public int getSchemaRegionConsensusPort() -
getMqttPort
public int getMqttPort() -
getPipeAirGapReceiverPort
public int getPipeAirGapReceiverPort() -
getRestServicePort
public int getRestServicePort()
-