|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.opad.timeseries.TimeSeries<T>
T
- The type of the time series.public class TimeSeries<T>
Field Summary |
---|
Fields inherited from interface kieker.tools.opad.timeseries.ITimeSeries |
---|
INFINITE_CAPACITY |
Constructor Summary | |
---|---|
TimeSeries(long startTime,
java.util.concurrent.TimeUnit timeUnit,
long deltaTime)
Constructor using the timeunit as unit for internal usage and deltatime time unit. |
|
TimeSeries(long startTime,
java.util.concurrent.TimeUnit timeUnit,
long deltaTime,
int frequency)
|
|
TimeSeries(long startTime,
java.util.concurrent.TimeUnit timeUnit,
long deltaTime,
int frequency,
int capacity)
Constructor using the timeunit as unit for internal usage and deltatime time unit. |
|
TimeSeries(long startTime,
java.util.concurrent.TimeUnit timeSeriesTimeUnit,
long deltaTime,
java.util.concurrent.TimeUnit deltaTimeUnit)
|
|
TimeSeries(long startTime,
java.util.concurrent.TimeUnit timeSeriesTimeUnit,
long deltaTime,
java.util.concurrent.TimeUnit deltaTimeUnit,
int capacity)
|
|
TimeSeries(long startTime,
java.util.concurrent.TimeUnit timeSeriesTimeUnit,
long deltaTime,
java.util.concurrent.TimeUnit deltaTimeUnit,
int frequency,
int capacity)
|
Method Summary | |
---|---|
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 ITimeSeries.getDeltaTime() . |
java.util.concurrent.TimeUnit |
getDeltaTimeUnit()
The TimeUnit used to specify the temporal distance between to values (ITimeSeries.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 ITimeSeriesPoint s of this time series. |
long |
getStartTime()
Returns the start of the time series, i.e., the time of the first value. |
long |
getStepSize()
Returns the step size between each item in the timeseries. |
java.util.concurrent.TimeUnit |
getTimeSeriesTimeUnit()
The TimeUnit used to specify the temporal distance between to values (ITimeSeries.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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimeSeries(long startTime, java.util.concurrent.TimeUnit timeSeriesTimeUnit, long deltaTime, java.util.concurrent.TimeUnit deltaTimeUnit, int frequency, int capacity)
startTime
- start time of TimeseriestimeSeriesTimeUnit
- time unit of the startTimedeltaTime
- time of timeseriesdeltaTimeUnit
- Time unitcapacity
- length of timeseriespublic TimeSeries(long startTime, java.util.concurrent.TimeUnit timeSeriesTimeUnit, long deltaTime, java.util.concurrent.TimeUnit deltaTimeUnit, int capacity)
startTime
- start time of TimeseriestimeSeriesTimeUnit
- time unit of the startTimedeltaTime
- time of timeseriesdeltaTimeUnit
- Time unitcapacity
- length of timeseriespublic TimeSeries(long startTime, java.util.concurrent.TimeUnit timeSeriesTimeUnit, long deltaTime, java.util.concurrent.TimeUnit deltaTimeUnit)
startTime
- start time of TimeseriestimeSeriesTimeUnit
- time unit of the startTimedeltaTime
- time of timeseriesdeltaTimeUnit
- Time unitpublic TimeSeries(long startTime, java.util.concurrent.TimeUnit timeUnit, long deltaTime)
public TimeSeries(long startTime, java.util.concurrent.TimeUnit timeUnit, long deltaTime, int frequency, int capacity)
public TimeSeries(long startTime, java.util.concurrent.TimeUnit timeUnit, long deltaTime, int frequency)
Method Detail |
---|
public long getStartTime()
ITimeSeries
getStartTime
in interface ITimeSeries<T>
public java.util.concurrent.TimeUnit getTimeSeriesTimeUnit()
ITimeSeries
TimeUnit
used to specify the temporal distance between to values (ITimeSeries.getStartTime()
).
getTimeSeriesTimeUnit
in interface ITimeSeries<T>
public long getDeltaTime()
ITimeSeries
TimeUnit
ITimeSeries.getDeltaTime()
.
getDeltaTime
in interface ITimeSeries<T>
public java.util.concurrent.TimeUnit getDeltaTimeUnit()
ITimeSeries
TimeUnit
used to specify the temporal distance between to values (ITimeSeries.getDeltaTime()
).
getDeltaTimeUnit
in interface ITimeSeries<T>
public long getStepSize()
TimeUnit
of the stepSize is equal to the timeSeriesTimeUnit
.
public ITimeSeriesPoint<T> append(T value)
ITimeSeries
append
in interface ITimeSeries<T>
value
- value which should append to timeseries
public java.util.List<ITimeSeriesPoint<T>> getPoints()
ITimeSeries
ITimeSeriesPoint
s of this time series.
getPoints
in interface ITimeSeries<T>
public java.util.List<T> getValues()
ITimeSeries
getPoints()getValues()
.
getValues
in interface ITimeSeries<T>
public int getCapacity()
ITimeSeries
getCapacity
in interface ITimeSeries<T>
ITimeSeries.INFINITE_CAPACITY
if the capacity is infinitepublic int size()
ITimeSeries
size
in interface ITimeSeries<T>
public long getEndTime()
ITimeSeries
getEndTime
in interface ITimeSeries<T>
public java.util.List<ITimeSeriesPoint<T>> appendAll(T[] values)
ITimeSeries
appendAll
in interface ITimeSeries<T>
public java.lang.String toString()
toString
in class java.lang.Object
public int getFrequency()
ITimeSeries
getFrequency
in interface ITimeSeries<T>
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |