Package com.heroku.agent.metrics
Enum HerokuJvmMetrics.Gc
- java.lang.Object
-
- java.lang.Enum<HerokuJvmMetrics.Gc>
-
- com.heroku.agent.metrics.HerokuJvmMetrics.Gc
-
- All Implemented Interfaces:
Serializable,Comparable<HerokuJvmMetrics.Gc>
- Enclosing class:
- HerokuJvmMetrics
public static enum HerokuJvmMetrics.Gc extends Enum<HerokuJvmMetrics.Gc>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ConcurrentMarkSweepG1OldGenerationG1YoungGenerationParNewPsMarkSweepPsScavenge
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HerokuJvmMetrics.GcvalueOf(String name)Returns the enum constant of this type with the specified name.static HerokuJvmMetrics.Gc[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PsScavenge
public static final HerokuJvmMetrics.Gc PsScavenge
-
PsMarkSweep
public static final HerokuJvmMetrics.Gc PsMarkSweep
-
G1OldGeneration
public static final HerokuJvmMetrics.Gc G1OldGeneration
-
G1YoungGeneration
public static final HerokuJvmMetrics.Gc G1YoungGeneration
-
ConcurrentMarkSweep
public static final HerokuJvmMetrics.Gc ConcurrentMarkSweep
-
ParNew
public static final HerokuJvmMetrics.Gc ParNew
-
-
Method Detail
-
values
public static HerokuJvmMetrics.Gc[] 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 (HerokuJvmMetrics.Gc c : HerokuJvmMetrics.Gc.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HerokuJvmMetrics.Gc 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
-
-