public class RollingTimePeriodDataMeasure extends java.lang.Object implements DataMeasure
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
DEFAULT_TIMER_PERIOD_IN_MILLIS |
| Constructor and Description |
|---|
RollingTimePeriodDataMeasure() |
RollingTimePeriodDataMeasure(long timePeriodInMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNumber(java.lang.Number number) |
DataMeasurementSummaryVO |
getDataMeasurementSummary() |
java.util.Set<net.admin4j.timer.RollingTimePeriodDataMeasure.TimedObservation> |
getObservationSet() |
java.lang.Long |
getTimePeriodInMillis() |
void |
purgeObsoleteObservations() |
void |
reset() |
void |
setObservationSet(java.util.Set<net.admin4j.timer.RollingTimePeriodDataMeasure.TimedObservation> observationSet) |
protected void |
setTimePeriodInMillis(java.lang.Long timePeriodInMillis) |
public static final java.lang.Long DEFAULT_TIMER_PERIOD_IN_MILLIS
public RollingTimePeriodDataMeasure()
public RollingTimePeriodDataMeasure(long timePeriodInMillis)
public void addNumber(java.lang.Number number)
addNumber in interface DataMeasurepublic void reset()
reset in interface DataMeasurepublic void purgeObsoleteObservations()
purgeObsoleteObservations in interface DataMeasurepublic DataMeasurementSummaryVO getDataMeasurementSummary()
getDataMeasurementSummary in interface DataMeasurepublic java.lang.Long getTimePeriodInMillis()
protected void setTimePeriodInMillis(java.lang.Long timePeriodInMillis)
public java.util.Set<net.admin4j.timer.RollingTimePeriodDataMeasure.TimedObservation> getObservationSet()
public void setObservationSet(java.util.Set<net.admin4j.timer.RollingTimePeriodDataMeasure.TimedObservation> observationSet)
Copyright © 2015 The Admin4J Project. All Rights Reserved.