Package org.adoptopenjdk.jitwatch.core
Enum JITWatchConfig.BackgroundCompilation
- java.lang.Object
-
- java.lang.Enum<JITWatchConfig.BackgroundCompilation>
-
- org.adoptopenjdk.jitwatch.core.JITWatchConfig.BackgroundCompilation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JITWatchConfig.BackgroundCompilation>
- Enclosing class:
- JITWatchConfig
public static enum JITWatchConfig.BackgroundCompilation extends java.lang.Enum<JITWatchConfig.BackgroundCompilation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORCE_BACKGROUND_COMPILATIONFORCE_NO_BACKGROUND_COMPILATIONVM_DEFAULT
-
Constructor Summary
Constructors Modifier Constructor Description privateBackgroundCompilation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JITWatchConfig.BackgroundCompilationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JITWatchConfig.BackgroundCompilation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VM_DEFAULT
public static final JITWatchConfig.BackgroundCompilation VM_DEFAULT
-
FORCE_BACKGROUND_COMPILATION
public static final JITWatchConfig.BackgroundCompilation FORCE_BACKGROUND_COMPILATION
-
FORCE_NO_BACKGROUND_COMPILATION
public static final JITWatchConfig.BackgroundCompilation FORCE_NO_BACKGROUND_COMPILATION
-
-
Method Detail
-
values
public static JITWatchConfig.BackgroundCompilation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JITWatchConfig.BackgroundCompilation c : JITWatchConfig.BackgroundCompilation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JITWatchConfig.BackgroundCompilation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-