Interface DataTimeDifferenceProvider<T>


public interface DataTimeDifferenceProvider<T>
For connectors with simulated time, determines the difference between two data points based on the data point before. Considered only if the connector implementation supports this.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the time difference.
  • Method Details

    • determineDifference

      int determineDifference(T data)
      Returns the time difference. Called also for new arriving, cached/not-passed-on data.
      Parameters:
      data - the data point before applying the difference, i.e., the last processed input data point
      Returns:
      the time difference in ms, may be negative to rely on the default value known to the connector or 0 for no simulated difference (use with care)