public abstract class AbstractMetricsListener<E extends MetricsEvent> extends Object implements MetricsListener<E>
| Constructor and Description |
|---|
AbstractMetricsListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupport(MetricsEvent event)
Whether to support the general determination of event points depends on the event type
|
abstract void |
onEvent(E event)
notify event.
|
public boolean isSupport(MetricsEvent event)
isSupport in interface MetricsListener<E extends MetricsEvent>public abstract void onEvent(E event)
MetricsListeneronEvent in interface MetricsListener<E extends MetricsEvent>event - BaseMetricsEventCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.