Interface MultiChannelTimeSeriesAggregator.CompletionFunction<T>
- Type Parameters:
T- the timestamp type withinIandO
- All Known Subinterfaces:
MultiChannelTimeSeriesAggregator.AggregationFunction<I,CI, O, D, T>
- All Known Implementing Classes:
MultiChannelTimeSeriesAggregator.LambdaBasedAggregationFunction
public static interface MultiChannelTimeSeriesAggregator.CompletionFunction<T>
Determines whether an aggregation chunk is completed.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptionbooleanchunkCompleted(int numberAggregatedSamples, T timestamp) Returns whether an aggregation chunk has been completed and a result instance shall be created.
-
Method Details
-
chunkCompleted
Returns whether an aggregation chunk has been completed and a result instance shall be created.- Parameters:
numberAggregatedSamples- the number of samples aggregated so fartimestamp- the timestamp the aggregation started- Returns:
truefor completed,falseelse
-