public class RateAverages extends Object
| Constructor and Description |
|---|
RateAverages() |
| Modifier and Type | Method and Description |
|---|---|
double |
getAverage()
Gets the weighted average.
|
double |
getCurrent()
Gets the current average.
|
double |
getLast()
Gets the last average.
|
static RateAverages |
getTemp()
Gets a thread-local temp instance.
|
long |
getTotalEventCount()
Gets the total event count.
|
double |
getTotalValues()
Gets the total values.
|
(package private) void |
reset() |
(package private) void |
setAverage(double average) |
(package private) void |
setCurrent(double current) |
(package private) void |
setLast(double last) |
(package private) void |
setTotalEventCount(long totalEventCount) |
(package private) void |
setTotalValues(double totalValues) |
public double getAverage()
public double getCurrent()
public double getLast()
public static RateAverages getTemp()
public long getTotalEventCount()
public double getTotalValues()
void reset()
void setAverage(double average)
void setCurrent(double current)
void setLast(double last)
void setTotalEventCount(long totalEventCount)
void setTotalValues(double totalValues)