public class TimeSeriesMax extends java.lang.Object implements TimeSeries
Constructor and Description |
---|
TimeSeriesMax() |
TimeSeriesMax(long missingValue) |
Modifier and Type | Method and Description |
---|---|
long |
getMissingValue()
The value used to encode missing values i.e.
|
long[] |
getValuePerHour()
Returns the measured value per hour over the last week.
|
long[] |
getValuePerMinute()
Returns the measured value per minute over the last hour.
|
long[] |
getValuePerSecond()
Returns the measured value per second over the last minute.
|
long[] |
getValuePerWeek()
Returns the measured value per week over the last three years.
|
void |
recordOneSecond()
Records the number of measured values over the past second and resets
the counter.
|
void |
recordValue(long value) |
public TimeSeriesMax()
public TimeSeriesMax(long missingValue)
public void recordValue(long value)
public void recordOneSecond()
public long getMissingValue()
TimeSeries
getMissingValue
in interface TimeSeries
public long[] getValuePerSecond()
TimeSeries
getValuePerSecond
in interface TimeSeries
public long[] getValuePerMinute()
TimeSeries
getValuePerMinute
in interface TimeSeries
public long[] getValuePerHour()
TimeSeries
getValuePerHour
in interface TimeSeries
public long[] getValuePerWeek()
TimeSeries
getValuePerWeek
in interface TimeSeries
Copyright © 2010 - 2020 Adobe. All Rights Reserved