public class TimeSeriesMax extends Object implements org.apache.jackrabbit.api.stats.TimeSeries
Constructor and Description |
---|
TimeSeriesMax() |
TimeSeriesMax(long missingValue) |
Modifier and Type | Method and Description |
---|---|
long |
getMissingValue() |
long[] |
getValuePerHour() |
long[] |
getValuePerMinute() |
long[] |
getValuePerSecond() |
long[] |
getValuePerWeek() |
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()
getMissingValue
in interface org.apache.jackrabbit.api.stats.TimeSeries
public long[] getValuePerSecond()
getValuePerSecond
in interface org.apache.jackrabbit.api.stats.TimeSeries
public long[] getValuePerMinute()
getValuePerMinute
in interface org.apache.jackrabbit.api.stats.TimeSeries
public long[] getValuePerHour()
getValuePerHour
in interface org.apache.jackrabbit.api.stats.TimeSeries
public long[] getValuePerWeek()
getValuePerWeek
in interface org.apache.jackrabbit.api.stats.TimeSeries
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.