public class HistogramMetricsCollector extends AbstractMetricsListener<RequestEvent> implements MetricsCollector<RequestEvent>
| Constructor and Description |
|---|
HistogramMetricsCollector(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
| Modifier and Type | Method and Description |
|---|---|
List<MetricSample> |
collect() |
void |
onEvent(RequestEvent event) |
void |
onEventError(RequestEvent event) |
void |
onEventFinish(RequestEvent event) |
isSupportequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCollectEnabledisSupportpublic HistogramMetricsCollector(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public void onEvent(RequestEvent event)
onEvent in interface MetricsListener<RequestEvent>onEvent in class AbstractMetricsListener<RequestEvent>public void onEventFinish(RequestEvent event)
onEventFinish in interface MetricsLifeListener<RequestEvent>public void onEventError(RequestEvent event)
onEventError in interface MetricsLifeListener<RequestEvent>public List<MetricSample> collect()
collect in interface MetricsCollector<RequestEvent>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.