Enum Class ManagementStatisticsLevel
- All Implemented Interfaces:
Serializable, Comparable<ManagementStatisticsLevel>, Constable
Controls the granularity of JMX performance statistics collected for a running
CamelContext.
Statistics are collected by the Camel management layer and exposed via MBeans. Finer granularity (down to individual
Processors) gives richer observability but uses more memory. Extended adds extra counters such as
idle-since timestamps.
Configure via ManagementAgent.setStatisticsLevel(ManagementStatisticsLevel) or the property
camel.main.jmx-management-statistics-level. The default is Default.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault statistics for context, routes, and processors.Extended statistics including additional performance metrics.No statistics collected.Statistics for the context and routes only (no processors). -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic ManagementStatisticsLevelReturns the enum constant of this class with the specified name.static ManagementStatisticsLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Extended
Extended statistics including additional performance metrics. -
Default
Default statistics for context, routes, and processors. -
RoutesOnly
Statistics for the context and routes only (no processors). -
Off
No statistics collected.
-
-
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
-
isDefaultOrExtended
public boolean isDefaultOrExtended() -
isExtended
public boolean isExtended()
-