Interface BatchedIdDataSynchronizer<T>

Type Parameters:
T - the type of data being synchronized
All Known Implementing Classes:
SQLiteHistorian

public interface BatchedIdDataSynchronizer<T>
Legacy implementation of data synchronizer using ID-based synchronization.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getAvailableCount(long syncId)
    Retrieves the total number of available data points from the specified sync ID.
    getSyncData(long syncId)
    Retrieves synchronizable data starting from the specified sync ID.
  • Method Details

    • getAvailableCount

      int getAvailableCount(long syncId)
      Retrieves the total number of available data points from the specified sync ID.
      Parameters:
      syncId - the ID to check data availability from
      Returns:
      the number of available data points
    • getSyncData

      List<T> getSyncData(long syncId)
      Retrieves synchronizable data starting from the specified sync ID.
      Parameters:
      syncId - the ID to start synchronization from
      Returns:
      list of data items to be synchronized