public class PackageMetric extends Object
| Modifier and Type | Field and Description |
|---|---|
protected MetricQueue.EventConsumer |
consumer |
protected long |
count |
protected Metric |
defaultMetric |
protected boolean |
isHistogram |
protected int |
maxGroup |
protected Map<MetricKey,Metric> |
metrics |
protected String |
topic |
| Constructor and Description |
|---|
PackageMetric(ConfigManger configManger,
MetricQueue.EventConsumer consumer,
Metric metric) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTopic() |
boolean |
isEmpty() |
void |
merge(Metric metric) |
protected MetricQueue.EventConsumer consumer
protected boolean isHistogram
protected String topic
protected Metric defaultMetric
protected long count
protected int maxGroup
public PackageMetric(ConfigManger configManger, MetricQueue.EventConsumer consumer, Metric metric)
Copyright © 2019. All rights reserved.