public class MetricsStatComposite extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
Map<RequestEvent.Type,MetricsStatHandler> |
stats |
| 构造器和说明 |
|---|
MetricsStatComposite(String applicationName,
DefaultMetricsCollector collector) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addRT(String interfaceName,
String methodName,
String group,
String version,
Long responseTime) |
Map<MethodMetric,AtomicLong> |
getAvgRT() |
MetricsStatHandler |
getHandler(RequestEvent.Type statType) |
Map<MethodMetric,AtomicLong> |
getLastRT() |
Map<MethodMetric,LongAccumulator> |
getMaxRT() |
Map<MethodMetric,LongAccumulator> |
getMinRT() |
Map<MethodMetric,AtomicLong> |
getRtCount() |
Map<MethodMetric,AtomicLong> |
getTotalRT() |
public Map<RequestEvent.Type,MetricsStatHandler> stats
public MetricsStatComposite(String applicationName, DefaultMetricsCollector collector)
public MetricsStatHandler getHandler(RequestEvent.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()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.