Enum CollectorType
- java.lang.Object
-
- java.lang.Enum<CollectorType>
-
- org.openjdk.jmc.flightrecorder.rules.jdk.memory.CollectorType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CollectorType>
public enum CollectorType extends java.lang.Enum<CollectorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMSDEF_NEWG1_FULLG1_NEWG1_OLDNAPAR_NEWPARALLEL_OLDPARALLEL_SCAVENGEPS_MARK_SWEEPSERIAL_OLDUNKNOWNZ
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCollectorName()static CollectorTypegetOldCollectorType(IItemCollection items)static CollectorTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CollectorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CMS
public static final CollectorType CMS
-
DEF_NEW
public static final CollectorType DEF_NEW
-
G1_FULL
public static final CollectorType G1_FULL
-
G1_NEW
public static final CollectorType G1_NEW
-
G1_OLD
public static final CollectorType G1_OLD
-
PAR_NEW
public static final CollectorType PAR_NEW
-
PARALLEL_OLD
public static final CollectorType PARALLEL_OLD
-
PARALLEL_SCAVENGE
public static final CollectorType PARALLEL_SCAVENGE
-
PS_MARK_SWEEP
public static final CollectorType PS_MARK_SWEEP
-
SERIAL_OLD
public static final CollectorType SERIAL_OLD
-
Z
public static final CollectorType Z
-
NA
public static final CollectorType NA
-
UNKNOWN
public static final CollectorType UNKNOWN
-
-
Method Detail
-
values
public static CollectorType[] 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 (CollectorType c : CollectorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CollectorType 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
-
getCollectorName
public java.lang.String getCollectorName()
-
getOldCollectorType
public static CollectorType getOldCollectorType(IItemCollection items)
-
-