Class RemoteJVMConfig
java.lang.Object
org.apache.iotdb.it.env.remote.config.RemoteJVMConfig
- All Implemented Interfaces:
JVMConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetInitHeapSize(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.
-
Constructor Details
-
RemoteJVMConfig
public RemoteJVMConfig()
-
-
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.
-