Enum Class Aggregation
- All Implemented Interfaces:
Serializable
,Comparable<Aggregation>
,Constable
Represents all available aggregation levels.
The aggregation level controls how fine-grained the call tree is calculated. See the "Aggregation level" selector in the CPU views and allocation tree views in the JProfiler GUI to get a feeling on how aggregation works.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMethod calls within the same class are aggregated.Method calls originating from a JEE component are aggregated until a different JEE component is entered.No aggregation is performed, all methods are displayed.Method calls within the same package are aggregated. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get a verbose description of the aggregation level.toString()
static Aggregation
Returns the enum constant of this class with the specified name.static Aggregation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
METHOD
No aggregation is performed, all methods are displayed. Resulting profiling values return aMethodDescriptor
in their descriptor property. -
CLASS
Method calls within the same class are aggregated. Resulting profiling values return aClassDescriptor
in their descriptor property. -
PACKAGE
Method calls within the same package are aggregated. Resulting profiling values return aPackageDescriptor
in their descriptor property. -
J2EE_COMPONENTS
Method calls originating from a JEE component are aggregated until a different JEE component is entered. Resulting profiling values return aClassDescriptor
in their descriptor property and nodes with aURLDescriptor
may appear in the call tree.
-
-
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
-
getName
Get a verbose description of the aggregation level.- Returns:
- the verbose description
-
toString
- Overrides:
toString
in classEnum<Aggregation>
-