public class AggregatedCollectorCounter extends CollectorCounter implements AggregatedCounter
Counter.Key
concurrency, key, lock, maxConcurrency, statistics
Constructor and Description |
---|
AggregatedCollectorCounter(Counter.Key key) |
AggregatedCollectorCounter(Counter.Key key,
Map<String,LeafCollectorCounter> counters) |
Modifier and Type | Method and Description |
---|---|
void |
addIfMissing(String marker,
LeafCollectorCounter counter) |
Map<String,? extends Counter> |
aggregated() |
void |
update() |
add, add, currentConcurrency, equals, getHits, getKey, getMax, getMaxConcurrency, getMean, getMin, getSecondMoment, getStandardDeviation, getSum, getVariance, hashCode, reset, updateConcurrency
public AggregatedCollectorCounter(Counter.Key key)
public AggregatedCollectorCounter(Counter.Key key, Map<String,LeafCollectorCounter> counters)
public void update()
public void addIfMissing(String marker, LeafCollectorCounter counter)
public Map<String,? extends Counter> aggregated()
aggregated
in interface AggregatedCounter
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.