public class HistogramMetricsCollector extends AbstractMetricsListener<RequestEvent> implements MetricsCollector<RequestEvent>
| 构造器和说明 |
|---|
HistogramMetricsCollector(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
calSamplesChanged() |
List<MetricSample> |
collect() |
void |
onEvent(RequestEvent event) |
void |
onEventError(RequestEvent event) |
void |
onEventFinish(RequestEvent event) |
isSupportinitMetrics, isCollectEnabledisSupportpublic HistogramMetricsCollector(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public void onEvent(RequestEvent event)
onEvent 在接口中 MetricsListener<RequestEvent>onEvent 在类中 AbstractMetricsListener<RequestEvent>public void onEventFinish(RequestEvent event)
onEventFinish 在接口中 MetricsLifeListener<RequestEvent>public void onEventError(RequestEvent event)
onEventError 在接口中 MetricsLifeListener<RequestEvent>public List<MetricSample> collect()
collect 在接口中 MetricsCollector<RequestEvent>public boolean calSamplesChanged()
calSamplesChanged 在接口中 MetricsCollector<RequestEvent>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.