Interface Syncable
-
- All Known Implementing Classes:
InternalHistorianProvider.HistorianSyncable
public interface Syncable
This interface provides sync'ing functions for a historian. "Syncing" means that we can query data in a way that ensures we will get everything, and not get repeat data, in order to send it or store it to a different location.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKey()
A key to uniquely identify this Syncable to theSyncManager
int
getSyncableCount(long syncId)
Returns the number of data points that could be synchronized from the given point.SyncSettings
getSyncSettings()
SyncResult
sync(long syncId)
Return true if and only if data was successfully sent to the target
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
A key to uniquely identify this Syncable to theSyncManager
-
getSyncableCount
int getSyncableCount(long syncId)
Returns the number of data points that could be synchronized from the given point.
-
sync
SyncResult sync(long syncId)
Return true if and only if data was successfully sent to the target- Parameters:
syncId
- if 0, returns next set of available data based on last query. Otherwise, starts at the given time period.
-
getSyncSettings
SyncSettings getSyncSettings()
-
-