Interface MultiChannelTimeSeriesAggregator.CompletionFunction<T>

Type Parameters:
T - the timestamp type within I and O
All Known Subinterfaces:
MultiChannelTimeSeriesAggregator.AggregationFunction<I,CI,O,D,T>
All Known Implementing Classes:
MultiChannelTimeSeriesAggregator.LambdaBasedAggregationFunction
Enclosing class:
MultiChannelTimeSeriesAggregator<I,CI,O,D,T>

public static interface MultiChannelTimeSeriesAggregator.CompletionFunction<T>
Determines whether an aggregation chunk is completed.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    chunkCompleted(int numberAggregatedSamples, T timestamp)
    Returns whether an aggregation chunk has been completed and a result instance shall be created.
  • Method Details

    • chunkCompleted

      boolean chunkCompleted(int numberAggregatedSamples, T timestamp)
      Returns whether an aggregation chunk has been completed and a result instance shall be created.
      Parameters:
      numberAggregatedSamples - the number of samples aggregated so far
      timestamp - the timestamp the aggregation started
      Returns:
      true for completed, false else