Class TimeSeriesMax

  • All Implemented Interfaces:
    TimeSeries

    public class TimeSeriesMax
    extends Object
    implements TimeSeries
    Time series of the maximum value recorded in a period
    • Constructor Detail

      • TimeSeriesMax

        public TimeSeriesMax()
      • TimeSeriesMax

        public TimeSeriesMax​(long missingValue)
    • Method Detail

      • recordValue

        public void recordValue​(long value)
      • recordOneSecond

        public void recordOneSecond()
        Records the number of measured values over the past second and resets the counter. This method should be scheduled to be called once per second.