Enum CollectorType
- java.lang.Object
-
- java.lang.Enum<CollectorType>
-
- org.openjdk.jmc.flightrecorder.rules.jdk.memory.CollectorType
-
- All Implemented Interfaces:
Serializable
,Comparable<CollectorType>
public enum CollectorType extends Enum<CollectorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMS
DEF_NEW
G1_FULL
G1_NEW
G1_OLD
NA
PAR_NEW
PARALLEL_OLD
PARALLEL_SCAVENGE
PS_MARK_SWEEP
SERIAL_OLD
UNKNOWN
Z
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCollectorName()
static CollectorType
getOldCollectorType(IItemCollection items)
static CollectorType
valueOf(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(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
-
getCollectorName
public String getCollectorName()
-
getOldCollectorType
public static CollectorType getOldCollectorType(IItemCollection items)
-
-