Class MppJVMConfig
java.lang.Object
org.apache.iotdb.it.env.cluster.config.MppJVMConfig
- All Implemented Interfaces:
JVMConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MppJVMConfig.Builderbuilder()intintintvoidoverride(MppJVMConfig config) setInitHeapSize(int initSize) Set the init heap size in MB.setMaxDirectMemorySize(int maxSize) Set the max memory size allocated out of heap in MB.setMaxHeapSize(int maxSize) Set the max heap size in MB.setTimezone(String timezone)
-
Constructor Details
-
MppJVMConfig
public MppJVMConfig()
-
-
Method Details
-
setInitHeapSize
Description copied from interface:JVMConfigSet the init heap size in MB.- Specified by:
setInitHeapSizein interfaceJVMConfig- Parameters:
initSize- the initial heap size in MB(passed by -Xms).- Returns:
- the instance of the config itself.
-
setMaxHeapSize
Description copied from interface:JVMConfigSet the max heap size in MB.- Specified by:
setMaxHeapSizein interfaceJVMConfig- Parameters:
maxSize- the max heap size in MB(passed by -Xmx).- Returns:
- the instance of the config itself.
-
setMaxDirectMemorySize
Description copied from interface:JVMConfigSet the max memory size allocated out of heap in MB.- Specified by:
setMaxDirectMemorySizein interfaceJVMConfig- Parameters:
maxSize- the max heap size in MB(passed by -XX:MaxDirectMemorySize).- Returns:
- the instance of the config itself.
-
setTimezone
-
getInitHeapSize
public int getInitHeapSize() -
getMaxHeapSize
public int getMaxHeapSize() -
getMaxDirectMemorySize
public int getMaxDirectMemorySize() -
getTimezone
-
override
-
builder
-