Enum Aggregation
- java.lang.Object
-
- java.lang.Enum<Aggregation>
-
- com.jprofiler.api.platform.parameters.Aggregation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Aggregation>
public enum Aggregation extends java.lang.Enum<Aggregation>
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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSMethod calls within the same class are aggregated.J2EE_COMPONENTSMethod calls originating from a Java EE component are aggregated until a different Java EE component is entered.METHODNo aggregation is performed, all methods are displayed.PACKAGEMethod calls within the same package are aggregated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get a verbose description of the aggregation level.java.lang.StringtoString()static AggregationvalueOf(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.
-
-
-
Enum Constant Detail
-
METHOD
public static final Aggregation METHOD
No aggregation is performed, all methods are displayed. Resulting profiling values return aMethodDescriptorin their descriptor property.
-
CLASS
public static final Aggregation CLASS
Method calls within the same class are aggregated. Resulting profiling values return aClassDescriptorin their descriptor property.
-
PACKAGE
public static final Aggregation PACKAGE
Method calls within the same package are aggregated. Resulting profiling values return aPackageDescriptorin their descriptor property.
-
J2EE_COMPONENTS
public static final Aggregation J2EE_COMPONENTS
Method calls originating from a Java EE component are aggregated until a different Java EE component is entered. Resulting profiling values return aClassDescriptorin their descriptor property and nodes with aURLDescriptormay appear in the call tree.
-
-
Method Detail
-
values
public static Aggregation[] 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 (Aggregation c : Aggregation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Aggregation valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
Get a verbose description of the aggregation level.- Returns:
- the verbose description
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Aggregation>
-
-