org.apache.commons.monitoring.counters
Interface Counter
- All Known Implementing Classes:
- DefaultCounter
public interface Counter
A Metric
is a numerical indicator of some monitored application state with support for simple
statistics.
- Author:
- Nicolas De Loof
getKey
Counter.Key getKey()
reset
void reset()
add
void add(double delta)
add
void add(double delta,
Unit unit)
currentConcurrency
AtomicInteger currentConcurrency()
updateConcurrency
void updateConcurrency(int concurrency)
getMaxConcurrency
int getMaxConcurrency()
getMax
double getMax()
getMin
double getMin()
getHits
long getHits()
getSum
double getSum()
getStandardDeviation
double getStandardDeviation()
getVariance
double getVariance()
getMean
double getMean()
getGeometricMean
double getGeometricMean()
getSumOfLogs
double getSumOfLogs()
getSumOfSquares
double getSumOfSquares()
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.