Enum Class JVMArch

java.lang.Object
java.lang.Enum<JVMArch>
org.openjdk.jmc.common.jvm.JVMArch
All Implemented Interfaces:
Serializable, Comparable<JVMArch>, Constable

public enum JVMArch extends Enum<JVMArch>
Enum for the different JVM architectures.
  • Enum Constant Details

    • BIT32

      public static final JVMArch BIT32
    • BIT64

      public static final JVMArch BIT64
    • UNKNOWN

      public static final JVMArch UNKNOWN
    • OTHER

      public static final JVMArch OTHER
  • Method Details

    • values

      public static JVMArch[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JVMArch valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCurrentJVMArch

      public static JVMArch getCurrentJVMArch()
    • getJVMArch

      public static JVMArch getJVMArch(Properties props)