T - The type of the series.public interface ITimeSeries<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
INFINITE_CAPACITY
infite capacity.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSeriesPoint<T> |
append(T value)
Appends the given value to the time series.
|
java.util.List<ITimeSeriesPoint<T>> |
appendAll(T[] values)
Appends the given value to the time series.
|
int |
getCapacity()
Returns the maximum number of elements held in this time series.
|
long |
getDeltaTime()
Returns the temporal distance between to time series values with respect to the configured
TimeUnit getDeltaTime(). |
java.util.concurrent.TimeUnit |
getDeltaTimeUnit()
The
TimeUnit used to specify the temporal distance between to values (getDeltaTime()). |
long |
getEndTime()
Returns the time corresponding to the most recent value in the time series.
|
int |
getFrequency()
Returns the frequency of the time series (how many time series points add up to an time unit of interest)
needed to improve forecast accuracy
e.g.
|
java.util.List<ITimeSeriesPoint<T>> |
getPoints()
Returns the
ITimeSeriesPoints of this time series. |
long |
getStartTime()
Returns the start of the time series, i.e., the time of the first value.
|
java.util.concurrent.TimeUnit |
getTimeSeriesTimeUnit()
The
TimeUnit used to specify the temporal distance between to values (getStartTime()). |
java.util.List<T> |
getValues()
Returns a list of all
getPoints()getValues(). |
int |
size()
Returns the number of value contained in the time series.
|
static final int INFINITE_CAPACITY
long getStartTime()
java.util.concurrent.TimeUnit getTimeSeriesTimeUnit()
TimeUnit used to specify the temporal distance between to values (getStartTime()).long getDeltaTime()
TimeUnit getDeltaTime().java.util.concurrent.TimeUnit getDeltaTimeUnit()
TimeUnit used to specify the temporal distance between to values (getDeltaTime()).ITimeSeriesPoint<T> append(T value)
value - the value to appendjava.util.List<ITimeSeriesPoint<T>> appendAll(T[] values)
java.util.List<ITimeSeriesPoint<T>> getPoints()
ITimeSeriesPoints of this time series.java.util.List<T> getValues()
getPoints()getValues().int getCapacity()
INFINITE_CAPACITY if the capacity is infiniteint size()
long getEndTime()
int getFrequency()
Copyright 2017 Kieker Project, http://kieker-monitoring.net