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()
long
getKey()
A key to uniquely identify this Syncable to theSyncManager
long
Returns the syncid for the last data synced.@Nullable Timeline
int
getSyncableCount
(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.boolean
boolean
void
setLastSyncId
(long value) Use to update the most recently synced id.void
shutdown()
void
startup()
sync
(long syncId) Return true if and only if data was successfully sent to the target
-
Method Details
-
getKey
Description copied from interface:Syncable
A key to uniquely identify this Syncable to theSyncManager
-
getSyncableCount
public int getSyncableCount(long syncId) Description copied from interface:Syncable
Returns the number of data points that could be synchronized from the given point.- Specified by:
getSyncableCount
in interfaceSyncable
-
sync
Description copied from interface:Syncable
Return true if and only if data was successfully sent to the target -
getSyncSettings
Description copied from interface:Syncable
Returns the sync settings used for sending data to remote systems.- Specified by:
getSyncSettings
in interfaceSyncable
-
getSyncType
Description copied from interface:Syncable
Returns the type of data this Syncable will store (e.g. historical, auditing, alarming).- Specified by:
getSyncType
in interfaceSyncable
-
getLastSyncId
public long getLastSyncId()Description copied from interface:Syncable
Returns the syncid for the last data synced.- Specified by:
getLastSyncId
in interfaceSyncable
-
setLastSyncId
public void setLastSyncId(long value) Description copied from interface:Syncable
Use to update the most recently synced id.- Specified by:
setLastSyncId
in interfaceSyncable
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceSyncSettings
-
getExecutionDelayMS
public long getExecutionDelayMS()- Specified by:
getExecutionDelayMS
in interfaceSyncSettings
-
getSchedule
- Specified by:
getSchedule
in interfaceSyncSettings
-
isScheduleEnabled
public boolean isScheduleEnabled()- Specified by:
isScheduleEnabled
in interfaceSyncSettings
-
startup
public void startup() -
shutdown
public void shutdown() -
builder
-