Class LegacyHistorianSyncable
java.lang.Object
com.inductiveautomation.historian.gateway.distributed.sync.LegacyHistorianSyncable
- All Implemented Interfaces:
Syncable,SyncSettings
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()longgetKey()A key to uniquely identify this Syncable to theSyncManagerlongReturns the syncid for the last data synced.@Nullable TimelineintgetSyncableCount(long syncId) Returns the number of data points that could be synchronized from the given point.Returns the sync settings used for sending data to remote systems.Returns the type of data this Syncable will store (e.g.booleanbooleanvoidsetLastSyncId(long value) Use to update the most recently synced id.voidshutdown()voidstartup()sync(long syncId) Return true if and only if data was successfully sent to the target
-
Method Details
-
getKey
Description copied from interface:SyncableA key to uniquely identify this Syncable to theSyncManager -
getSyncableCount
public int getSyncableCount(long syncId) Description copied from interface:SyncableReturns the number of data points that could be synchronized from the given point.- Specified by:
getSyncableCountin interfaceSyncable
-
sync
Description copied from interface:SyncableReturn true if and only if data was successfully sent to the target -
getSyncSettings
Description copied from interface:SyncableReturns the sync settings used for sending data to remote systems.- Specified by:
getSyncSettingsin interfaceSyncable
-
getSyncType
Description copied from interface:SyncableReturns the type of data this Syncable will store (e.g. historical, auditing, alarming).- Specified by:
getSyncTypein interfaceSyncable
-
getLastSyncId
public long getLastSyncId()Description copied from interface:SyncableReturns the syncid for the last data synced.- Specified by:
getLastSyncIdin interfaceSyncable
-
setLastSyncId
public void setLastSyncId(long value) Description copied from interface:SyncableUse to update the most recently synced id.- Specified by:
setLastSyncIdin interfaceSyncable
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceSyncSettings
-
getExecutionDelayMS
public long getExecutionDelayMS()- Specified by:
getExecutionDelayMSin interfaceSyncSettings
-
getSchedule
- Specified by:
getSchedulein interfaceSyncSettings
-
isScheduleEnabled
public boolean isScheduleEnabled()- Specified by:
isScheduleEnabledin interfaceSyncSettings
-
startup
public void startup() -
shutdown
public void shutdown() -
builder
-