public class MetricAggregator extends Metric
| Constructor and Description |
|---|
MetricAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Metric metric) |
Float |
average() |
long |
counter() |
Float |
deviation() |
String |
getChildRateSummary(Period period) |
String |
getRateSummary(Period period) |
Long |
max() |
Long |
min() |
MetricAggregator |
name(String name) |
boolean |
remove(Metric metric) |
void |
removeAllMetrics() |
long |
reset() |
long |
total() |
Float |
total(Period p) |
MetricAggregator |
unit(String unit) |
public MetricAggregator name(String name)
public MetricAggregator unit(String unit)
public void add(Metric metric)
public boolean remove(Metric metric)
public void removeAllMetrics()
public Float average()
public Float deviation()
public long total()
public Long min()
public Long max()
public String getRateSummary(Period period)
getRateSummary in class MetricCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.