Class InternalHistorianProvider
- java.lang.Object
-
- com.inductiveautomation.gateway.tags.history.tsdb.HistorianProvider
-
- com.inductiveautomation.gateway.tags.history.tsdb.localhistorian.InternalHistorianProvider
-
- All Implemented Interfaces:
AnnotationQueryProvider
,AnnotationStorageProvider
,TagHistoryProvider
,TagHistoryQueryInterface
- Direct Known Subclasses:
InternalHistorianProviderType.EdgeHistorian
public class InternalHistorianProvider extends HistorianProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
InternalHistorianProvider.HistorianSyncable
-
Field Summary
Fields Modifier and Type Field Description protected com.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
syncSettings
-
Fields inherited from class com.inductiveautomation.gateway.tags.history.tsdb.HistorianProvider
context, historian, IMPLEMENTATION, log, name, sink
-
-
Constructor Summary
Constructors Constructor Description InternalHistorianProvider(GatewayContext context, java.lang.String name)
The InternalHistorianProvider extends a normal HistorianProvider to add remote synchronization support.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureRemoteSync(com.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings syncSettings)
Must be called during setup, before the provider is started.protected LoggerEx
createLogger()
protected Timeline
getSyncSchedule()
protected DataSink
instantiateSink()
protected java.lang.Boolean
isLicensed()
Returns whether or not we're allowed to store/query based on the license.protected boolean
useRemoteSync()
-
Methods inherited from class com.inductiveautomation.gateway.tags.history.tsdb.HistorianProvider
browse, buildBrowseCache, createQuery, getAvailableAggregates, getName, getStatus, getStatusInformation, initialize, queryAnnotations, queryDensity, shutdown, startup, storeAnnotations
-
-
-
-
Constructor Detail
-
InternalHistorianProvider
public InternalHistorianProvider(GatewayContext context, java.lang.String name)
The InternalHistorianProvider extends a normal HistorianProvider to add remote synchronization support. The idea is that the historian is storing and exposing data locally, but also synchronizing it for longer term storage remotely.
-
-
Method Detail
-
createLogger
protected LoggerEx createLogger()
- Overrides:
createLogger
in classHistorianProvider
-
configureRemoteSync
public void configureRemoteSync(com.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings syncSettings)
Must be called during setup, before the provider is started.
-
useRemoteSync
protected boolean useRemoteSync()
-
getSyncSchedule
protected Timeline getSyncSchedule()
-
isLicensed
protected java.lang.Boolean isLicensed()
Returns whether or not we're allowed to store/query based on the license. Should include demo mode.
-
instantiateSink
protected DataSink instantiateSink()
- Overrides:
instantiateSink
in classHistorianProvider
-
-