public class StatInfoStatefulCollector<T> extends AbstractSignatureStatInfoCollector<T,StatStatefulMetric>
| Constructor and Description |
|---|
StatInfoStatefulCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectStatInfo(T info,
Map<String,String> metricLabels,
MetricValueAggregationStrategy<T>[] strategies)
使用Strategies策略集收集info的信息
|
getCollectedValues, getMetricContainer, getSignaturepublic void collectStatInfo(T info, Map<String,String> metricLabels, MetricValueAggregationStrategy<T>[] strategies)
StatInfoCollectorinfo - 收集的指标类型的值metricLabels - 收集的指标的标签集strategies - 收集指标采用的策略集Copyright © 2024. All rights reserved.