T - Type of the elements in this time series.public class BoundedTimeSeries<T extends ITimeSeriesPoint> extends TimeSeries<T>
TimeSeries with a maximum time span. If something is added to this time series and the time span between earliest and latest point in this time series
is larger than the allowed time span, the earliest points are discarded.| Constructor and Description |
|---|
BoundedTimeSeries(BoundedTimeSeries<T> timeSeries) |
BoundedTimeSeries(java.time.Duration capacity) |
BoundedTimeSeries(java.time.Duration capacity,
TimeSeries<T> timeSeries) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendBegin(T timeSeriesPoint)
Appends a point at the end of this time series, so the point is the new
earliest point in this time series.
|
void |
appendEnd(T timeSeriesPoint)
Appends a point at the end of this time series, so the point is the new
latest point in this time series.
|
java.time.Duration |
getCapacity() |
backwardsIterator, getBegin, getEnd, isEmpty, iterator, removeBegin, removeEnd, size, stream, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbackwardspublic BoundedTimeSeries(java.time.Duration capacity)
public BoundedTimeSeries(java.time.Duration capacity,
TimeSeries<T> timeSeries)
public BoundedTimeSeries(BoundedTimeSeries<T> timeSeries)
public void appendBegin(T timeSeriesPoint)
TimeSeriesappendBegin in class TimeSeries<T extends ITimeSeriesPoint>public void appendEnd(T timeSeriesPoint)
TimeSeriesappendEnd in class TimeSeries<T extends ITimeSeriesPoint>public java.time.Duration getCapacity()
Copyright 2021 Kieker Project, http://kieker-monitoring.net