public class MetricsApplicationListener extends AbstractMetricsKeyListener
| Constructor and Description |
|---|
MetricsApplicationListener(MetricsKey metricsKey) |
| Modifier and Type | Method and Description |
|---|---|
static AbstractMetricsKeyListener |
onErrorEventBuild(MetricsKey metricsKey,
MetricsPlaceValue placeType,
CombMetricsCollector<?> collector)
Similar to onFinishEventBuild
|
static AbstractMetricsKeyListener |
onFinishEventBuild(MetricsKey metricsKey,
MetricsPlaceValue placeType,
CombMetricsCollector<?> collector)
To end the monitoring normally, in addition to increasing the number of corresponding indicators,
use the introspection method to calculate the relevant rt indicators
|
static AbstractMetricsKeyListener |
onPostEventBuild(MetricsKey metricsKey,
CombMetricsCollector<?> collector)
Perform auto-increment on the monitored key,
Can use a custom listener instead of this generic operation
|
isSupport, onError, onEvent, onEvent, onFinishequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonEventError, onEventFinishpublic MetricsApplicationListener(MetricsKey metricsKey)
public static AbstractMetricsKeyListener onPostEventBuild(MetricsKey metricsKey, CombMetricsCollector<?> collector)
metricsKey - Monitor keycollector - Corresponding collectorpublic static AbstractMetricsKeyListener onFinishEventBuild(MetricsKey metricsKey, MetricsPlaceValue placeType, CombMetricsCollector<?> collector)
metricsKey - Monitor keycollector - Corresponding collectorpublic static AbstractMetricsKeyListener onErrorEventBuild(MetricsKey metricsKey, MetricsPlaceValue placeType, CombMetricsCollector<?> collector)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.