public class RollingNbrObservationsDataMeasure extends java.lang.Object implements DataMeasure
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_NUMBER_ROLLING_OBSERVATIONS |
| Constructor and Description |
|---|
RollingNbrObservationsDataMeasure() |
RollingNbrObservationsDataMeasure(int nbrRollingObservations) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNumber(java.lang.Number number) |
int |
getCurrentObservationOffset() |
DataMeasurementSummaryVO |
getDataMeasurementSummary() |
int |
getNbrRollingObservations() |
java.lang.Number[] |
getObservations() |
java.lang.Long[] |
getObservationTime() |
void |
purgeObsoleteObservations() |
void |
reset() |
void |
setCurrentObservationOffset(int currentObservationOffset) |
void |
setNbrRollingObservations(int nbrRollingObservations) |
void |
setObservations(java.lang.Number[] observations) |
void |
setObservationTime(java.lang.Long[] observationTime) |
public static final int DEFAULT_NUMBER_ROLLING_OBSERVATIONS
public RollingNbrObservationsDataMeasure()
public RollingNbrObservationsDataMeasure(int nbrRollingObservations)
public void addNumber(java.lang.Number number)
addNumber in interface DataMeasurepublic DataMeasurementSummaryVO getDataMeasurementSummary()
getDataMeasurementSummary in interface DataMeasurepublic void purgeObsoleteObservations()
purgeObsoleteObservations in interface DataMeasurepublic void reset()
reset in interface DataMeasurepublic int getNbrRollingObservations()
public void setNbrRollingObservations(int nbrRollingObservations)
public java.lang.Number[] getObservations()
public void setObservations(java.lang.Number[] observations)
public java.lang.Long[] getObservationTime()
public void setObservationTime(java.lang.Long[] observationTime)
public int getCurrentObservationOffset()
public void setCurrentObservationOffset(int currentObservationOffset)
Copyright © 2015 The Admin4J Project. All Rights Reserved.