Interface JVMConfig

All Known Implementing Classes:
MppJVMConfig, RemoteJVMConfig

public interface JVMConfig
This interface is used to store the JVM parameters of test nodes.
  • Method Details

    • setInitHeapSize

      JVMConfig setInitHeapSize(int initSize)
      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

      JVMConfig setMaxHeapSize(int maxSize)
      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

      JVMConfig setMaxDirectMemorySize(int maxSize)
      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.