Class JvmArguments


  • public final class JvmArguments
    extends Object
    Used for parsing and retrieving JVM arguments.
    • Method Detail

      • parseArguments

        public static JvmArguments parseArguments​(String arguments)
        Used for parsing JVM arguments string into specific values.
        Parameters:
        arguments - JVM arguments.
        Returns:
        Instance containing parsed values.
      • getInitialHeap

        public long getInitialHeap​(ByteUnit expectedUnit)
        Parameters:
        expectedUnit - Expected byte unit.
        Returns:
        Initial heap size.
      • getMaxHeap

        public long getMaxHeap​(ByteUnit expectedUnit)
        Parameters:
        expectedUnit - Expected byte unit.
        Returns:
        Maximum heap size.
      • getGenericArgs

        public String getGenericArgs()
        Returns:
        Other arguments.