Class RemoteJVMConfig

java.lang.Object
org.apache.iotdb.it.env.remote.config.RemoteJVMConfig
All Implemented Interfaces:
JVMConfig

public class RemoteJVMConfig extends Object implements JVMConfig
  • Constructor Details

    • RemoteJVMConfig

      public RemoteJVMConfig()
  • Method Details

    • setInitHeapSize

      public JVMConfig setInitHeapSize(int initSize)
      Description copied from interface: JVMConfig
      Set the init heap size in MB.
      Specified by:
      setInitHeapSize in interface JVMConfig
      Parameters:
      initSize - the initial heap size in MB(passed by -Xms).
      Returns:
      the instance of the config itself.
    • setMaxHeapSize

      public JVMConfig setMaxHeapSize(int maxSize)
      Description copied from interface: JVMConfig
      Set the max heap size in MB.
      Specified by:
      setMaxHeapSize in interface JVMConfig
      Parameters:
      maxSize - the max heap size in MB(passed by -Xmx).
      Returns:
      the instance of the config itself.
    • setMaxDirectMemorySize

      public JVMConfig setMaxDirectMemorySize(int maxSize)
      Description copied from interface: JVMConfig
      Set the max memory size allocated out of heap in MB.
      Specified by:
      setMaxDirectMemorySize in interface JVMConfig
      Parameters:
      maxSize - the max heap size in MB(passed by -XX:MaxDirectMemorySize).
      Returns:
      the instance of the config itself.