public class RegistrySpecListener extends Object
MetricsApplicationListener ,
it provides registry custom listeners| Constructor and Description |
|---|
RegistrySpecListener() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getRgs(MetricsEvent event)
Get the number of multiple registries
|
static String |
getServiceKey(MetricsEvent event) |
static int |
getSize(MetricsEvent event)
Get the exposed number of the protocol
|
static AbstractMetricsKeyListener |
onError(MetricsKey metricsKey,
CombMetricsCollector<?> collector) |
static AbstractMetricsKeyListener |
onErrorOfService(MetricsKey metricsKey,
MetricsPlaceValue placeType,
CombMetricsCollector<?> collector) |
static AbstractMetricsKeyListener |
onFinish(MetricsKey metricsKey,
CombMetricsCollector<?> collector) |
static AbstractMetricsKeyListener |
onFinishOfNotify(MetricsKey metricsKey,
MetricsPlaceValue placeType,
CombMetricsCollector<?> collector)
Every time an event is triggered, multiple serviceKey related to notify are increment
|
static AbstractMetricsKeyListener |
onFinishOfService(MetricsKey metricsKey,
MetricsPlaceValue placeType,
CombMetricsCollector<?> collector) |
static AbstractMetricsKeyListener |
onPost(MetricsKey metricsKey,
CombMetricsCollector<?> collector)
Perform auto-increment on the monitored key,
Can use a custom listener instead of this generic operation
|
static AbstractMetricsKeyListener |
onPostOfDirectory(MetricsKey metricsKey,
CombMetricsCollector<?> collector)
Every time an event is triggered, multiple fixed key related to directory are increment, which has nothing to do with the monitored key
|
static AbstractMetricsKeyListener |
onPostOfService(MetricsKey metricsKey,
MetricsPlaceValue placeType,
CombMetricsCollector<?> collector) |
public static AbstractMetricsKeyListener onPost(MetricsKey metricsKey, CombMetricsCollector<?> collector)
public static AbstractMetricsKeyListener onFinish(MetricsKey metricsKey, CombMetricsCollector<?> collector)
public static AbstractMetricsKeyListener onError(MetricsKey metricsKey, CombMetricsCollector<?> collector)
public static AbstractMetricsKeyListener onPostOfService(MetricsKey metricsKey, MetricsPlaceValue placeType, CombMetricsCollector<?> collector)
public static AbstractMetricsKeyListener onFinishOfService(MetricsKey metricsKey, MetricsPlaceValue placeType, CombMetricsCollector<?> collector)
public static AbstractMetricsKeyListener onErrorOfService(MetricsKey metricsKey, MetricsPlaceValue placeType, CombMetricsCollector<?> collector)
public static AbstractMetricsKeyListener onFinishOfNotify(MetricsKey metricsKey, MetricsPlaceValue placeType, CombMetricsCollector<?> collector)
public static AbstractMetricsKeyListener onPostOfDirectory(MetricsKey metricsKey, CombMetricsCollector<?> collector)
public static List<String> getRgs(MetricsEvent event)
public static int getSize(MetricsEvent event)
public static String getServiceKey(MetricsEvent event)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.