Enum GarbageCollectorFlag
- java.lang.Object
-
- java.lang.Enum<GarbageCollectorFlag>
-
- com.microsoft.gctoolkit.parser.jvm.GarbageCollectorFlag
-
- All Implemented Interfaces:
Serializable,Comparable<GarbageCollectorFlag>
public enum GarbageCollectorFlag extends Enum<GarbageCollectorFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMSIncrementialModeUseConcMarkSweepGCUseG1GCUseParallelGCUseParallelOldGCUseParNewGCUseSerialGC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GarbageCollectorFlagfromString(String name)static GarbageCollectorFlaggetEnumFromString(String string)StringgetLabel()static GarbageCollectorFlagvalueOf(String name)Returns the enum constant of this type with the specified name.static GarbageCollectorFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UseG1GC
public static final GarbageCollectorFlag UseG1GC
-
UseParNewGC
public static final GarbageCollectorFlag UseParNewGC
-
UseConcMarkSweepGC
public static final GarbageCollectorFlag UseConcMarkSweepGC
-
UseParallelGC
public static final GarbageCollectorFlag UseParallelGC
-
UseParallelOldGC
public static final GarbageCollectorFlag UseParallelOldGC
-
UseSerialGC
public static final GarbageCollectorFlag UseSerialGC
-
CMSIncrementialMode
public static final GarbageCollectorFlag CMSIncrementialMode
-
-
Method Detail
-
values
public static GarbageCollectorFlag[] 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 (GarbageCollectorFlag c : GarbageCollectorFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GarbageCollectorFlag valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getEnumFromString
public static GarbageCollectorFlag getEnumFromString(String string)
-
fromString
public static GarbageCollectorFlag fromString(String name)
-
getLabel
public String getLabel()
-
-