Package com.yourkit.api.controller.v2
Enum Class AllocationProfilingMode
- All Implemented Interfaces:
Serializable,Comparable<AllocationProfilingMode>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBytecode instrumentation.Light-weight allocation recoding mode which counts allocated objects by class and method.Deprecated.Production-ready allocation profiling mode based on the heap sampling event.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic AllocationProfilingModeReturns the enum constant of this class with the specified name.static AllocationProfilingMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
BCI
Bytecode instrumentation. -
COUNTING
Light-weight allocation recoding mode which counts allocated objects by class and method. -
EXACT_STACKS
@Deprecated @Expose @SerializedName("exactStacks") public static final AllocationProfilingMode EXACT_STACKSDeprecated. -
SAMPLED_STACKS
@Deprecated @Expose @SerializedName("sampledStacks") public static final AllocationProfilingMode SAMPLED_STACKSDeprecated. -
HEAP_SAMPLING
Production-ready allocation profiling mode based on the heap sampling event. Controlled with the heap sampling interval option. Records exact stack traces.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-