Package org.apache.iotdb.itbase.env
Interface JVMConfig
- All Known Implementing Classes:
MppJVMConfig,RemoteJVMConfig
public interface JVMConfig
This interface is used to store the JVM parameters of test nodes.
-
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.
-
Method Details
-
setInitHeapSize
Set the init heap size in MB.- Parameters:
initSize- the initial heap size in MB(passed by -Xms).- Returns:
- the instance of the config itself.
-
setMaxHeapSize
Set the max heap size in MB.- Parameters:
maxSize- the max heap size in MB(passed by -Xmx).- Returns:
- the instance of the config itself.
-
setMaxDirectMemorySize
Set the max memory size allocated out of heap in MB.- Parameters:
maxSize- the max heap size in MB(passed by -XX:MaxDirectMemorySize).- Returns:
- the instance of the config itself.
-