public class TimeSeriesAverage extends Object implements org.apache.jackrabbit.api.stats.TimeSeries
Constructor and Description |
---|
TimeSeriesAverage(org.apache.jackrabbit.api.stats.TimeSeries value,
org.apache.jackrabbit.api.stats.TimeSeries counter)
Same as
TimeSeriesAverage(TimeSeries, TimeSeries, long) passing 0 for the 3rd argument. |
TimeSeriesAverage(org.apache.jackrabbit.api.stats.TimeSeries value,
org.apache.jackrabbit.api.stats.TimeSeries counter,
long missingValue) |
Modifier and Type | Method and Description |
---|---|
long |
getMissingValue() |
long[] |
getValuePerHour() |
long[] |
getValuePerMinute() |
long[] |
getValuePerSecond() |
long[] |
getValuePerWeek() |
public TimeSeriesAverage(org.apache.jackrabbit.api.stats.TimeSeries value, org.apache.jackrabbit.api.stats.TimeSeries counter)
TimeSeriesAverage(TimeSeries, TimeSeries, long)
passing 0 for the 3rd argument.value
- TimeSeries
of valuescounter
- TimeSeries
of countspublic TimeSeriesAverage(org.apache.jackrabbit.api.stats.TimeSeries value, org.apache.jackrabbit.api.stats.TimeSeries counter, long missingValue)
value
- TimeSeries
of valuescounter
- TimeSeries
of countsmissingValue
- The value used to encode missing valuespublic 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.