T - 收集的指标类型V - 收集指标后统计所采用的类型public abstract class AbstractSignatureStatInfoCollector<T,V> extends Object implements StatInfoCollector<T,V>
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<V> |
getCollectedValues()
返回统计的结果
|
ConcurrentMap<Long,V> |
getMetricContainer() |
static Long |
getSignature(String metricName,
Map<String,String> labels) |
collectStatInfopublic ConcurrentMap<Long,V> getMetricContainer()
public Collection<V> getCollectedValues()
StatInfoCollectorgetCollectedValues 在接口中 StatInfoCollector<T,V>Copyright © 2022. All rights reserved.