public class SummaryDataMeasure extends java.lang.Object implements DataMeasure
Note: This implementation is intended to be threadsafe.
| Constructor and Description |
|---|
SummaryDataMeasure()
Deprecated.
- Only provided so reading of earlier version performance stats works.
|
SummaryDataMeasure(long firstObservationTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNumber(java.lang.Number number) |
DataMeasurementSummaryVO |
getDataMeasurementSummary() |
long |
getFirstObservationTime() |
long |
getLastObservationTime() |
double |
getMaximum() |
double |
getMinimum() |
long |
getNbrDataItems() |
double |
getSumOfSquares() |
double |
getTotal() |
void |
purgeObsoleteObservations() |
void |
reset() |
void |
setFirstObservationTime(long firstObservationTime) |
void |
setLastObservationTime(long lastObservationTime) |
void |
setMaximum(double maximum) |
void |
setMinimum(double minimum) |
void |
setNbrDataItems(long nbrDataItems) |
void |
setSumOfSquares(double sumOfSquares) |
void |
setTotal(double total) |
public SummaryDataMeasure()
public SummaryDataMeasure(long firstObservationTime)
public void reset()
reset in interface DataMeasurepublic void addNumber(java.lang.Number number)
addNumber in interface DataMeasurepublic void purgeObsoleteObservations()
purgeObsoleteObservations in interface DataMeasurepublic DataMeasurementSummaryVO getDataMeasurementSummary()
getDataMeasurementSummary in interface DataMeasurepublic double getTotal()
public void setTotal(double total)
public double getSumOfSquares()
public void setSumOfSquares(double sumOfSquares)
public long getNbrDataItems()
public void setNbrDataItems(long nbrDataItems)
public double getMinimum()
public void setMinimum(double minimum)
public double getMaximum()
public void setMaximum(double maximum)
public long getFirstObservationTime()
public void setFirstObservationTime(long firstObservationTime)
public long getLastObservationTime()
public void setLastObservationTime(long lastObservationTime)
Copyright © 2015 The Admin4J Project. All Rights Reserved.