Enum Class Aggregation

java.lang.Object
java.lang.Enum<Aggregation>
com.jprofiler.api.platform.parameters.Aggregation
All Implemented Interfaces:
Serializable, Comparable<Aggregation>, Constable

public enum Aggregation extends 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 Details

    • METHOD

      public static final Aggregation METHOD
      No aggregation is performed, all methods are displayed. Resulting profiling values return a MethodDescriptor in their descriptor property.
    • CLASS

      public static final Aggregation CLASS
      Method calls within the same class are aggregated. Resulting profiling values return a ClassDescriptor in their descriptor property.
    • PACKAGE

      public static final Aggregation PACKAGE
      Method calls within the same package are aggregated. Resulting profiling values return a PackageDescriptor in their descriptor property.
    • J2EE_COMPONENTS

      public static final Aggregation J2EE_COMPONENTS
      Method calls originating from a JEE component are aggregated until a different JEE component is entered. Resulting profiling values return a ClassDescriptor in their descriptor property and nodes with a URLDescriptor may appear in the call tree.
  • Method Details

    • values

      public static Aggregation[] 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

      public static Aggregation valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Get a verbose description of the aggregation level.
      Returns:
      the verbose description
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Aggregation>