Package kieker.analysis.util.timeseries
Class BoundedTimeSeries<T extends ITimeSeriesPoint>
java.lang.Object
kieker.analysis.util.timeseries.TimeSeries<T>
kieker.analysis.util.timeseries.BoundedTimeSeries<T>
- Type Parameters:
T- Type of the elements in this time series.
- All Implemented Interfaces:
Iterable<T>,IBackwardsIterable<T>
A
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.- Since:
- 1.14
- Author:
- Sören Henning
-
Constructor Summary
ConstructorsConstructorDescriptionBoundedTimeSeries(Duration capacity) BoundedTimeSeries(Duration capacity, TimeSeries<T> timeSeries) BoundedTimeSeries(BoundedTimeSeries<T> timeSeries) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendBegin(T timeSeriesPoint) Appends a point at the end of this time series, so the point is the new earliest point in this time series.voidAppends a point at the end of this time series, so the point is the new latest point in this time series.Methods inherited from class kieker.analysis.util.timeseries.TimeSeries
backwardsIterator, getBegin, getEnd, isEmpty, iterator, removeBegin, removeEnd, size, stream, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface kieker.analysis.util.IBackwardsIterable
backwardsMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BoundedTimeSeries
-
BoundedTimeSeries
-
BoundedTimeSeries
-
-
Method Details
-
appendBegin
Description copied from class:TimeSeriesAppends a point at the end of this time series, so the point is the new earliest point in this time series.- Overrides:
appendBeginin classTimeSeries<T extends ITimeSeriesPoint>
-
appendEnd
Description copied from class:TimeSeriesAppends a point at the end of this time series, so the point is the new latest point in this time series.- Overrides:
appendEndin classTimeSeries<T extends ITimeSeriesPoint>
-
getCapacity
-