public enum Aggregation extends java.lang.Enum<Aggregation>
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.
Enum Constant and Description |
---|
CLASS
Method calls within the same class are aggregated.
|
J2EE_COMPONENTS
Method calls originating from a Java EE component are aggregated until a different Java EE component is entered.
|
METHOD
No aggregation is performed, all methods are displayed.
|
PACKAGE
Method calls within the same package are aggregated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get a verbose description of the aggregation level.
|
java.lang.String |
toString() |
static Aggregation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Aggregation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregation METHOD
MethodDescriptor
in their descriptor property.public static final Aggregation CLASS
ClassDescriptor
in their descriptor property.public static final Aggregation PACKAGE
PackageDescriptor
in their descriptor property.public static final Aggregation J2EE_COMPONENTS
ClassDescriptor
in their
descriptor property and nodes with a URLDescriptor
may appear
in the call tree.public static Aggregation[] values()
for (Aggregation c : Aggregation.values()) System.out.println(c);
public static Aggregation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<Aggregation>