public class MetricsStatComposite extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
Map<MetricsEvent.Type,MetricsStatHandler> |
stats |
| 构造器和说明 |
|---|
MetricsStatComposite(DefaultMetricsCollector collector) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addApplicationInfo(String applicationName,
String version) |
MetricsEvent |
addRtAndRetrieveEvent(String applicationName,
org.apache.dubbo.rpc.Invocation invocation,
Long responseTime) |
Map<MethodMetric,AtomicLong> |
getAvgRT() |
MetricsStatHandler |
getHandler(MetricsEvent.Type statType) |
Map<MethodMetric,AtomicLong> |
getLastRT() |
Map<MethodMetric,LongAccumulator> |
getMaxRT() |
Map<MethodMetric,LongAccumulator> |
getMinRT() |
Map<MethodMetric,AtomicLong> |
getRtCount() |
Map<MethodMetric,AtomicLong> |
getTotalRT() |
public Map<MetricsEvent.Type,MetricsStatHandler> stats
public MetricsStatComposite(DefaultMetricsCollector collector)
public MetricsStatHandler getHandler(MetricsEvent.Type statType)
public Map<MethodMetric,AtomicLong> getLastRT()
public Map<MethodMetric,LongAccumulator> getMinRT()
public Map<MethodMetric,LongAccumulator> getMaxRT()
public Map<MethodMetric,AtomicLong> getAvgRT()
public Map<MethodMetric,AtomicLong> getTotalRT()
public Map<MethodMetric,AtomicLong> getRtCount()
public MetricsEvent addRtAndRetrieveEvent(String applicationName, org.apache.dubbo.rpc.Invocation invocation, Long responseTime)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.