Class TagHistorySplitterProvider.InternalDataSink
- java.lang.Object
-
- com.inductiveautomation.gateway.tags.history.thsplitter.TagHistorySplitterProvider.InternalDataSink
-
- All Implemented Interfaces:
DataSink
,HistoryStorer
,StoreAndForwardEngine
- Enclosing class:
- TagHistorySplitterProvider
protected class TagHistorySplitterProvider.InternalDataSink extends java.lang.Object implements StoreAndForwardEngine
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
TagHistorySplitterProvider.InternalDataSink.SplitterStatus
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.gateway.history.DataSink
LOG_NAME_TEMPLATE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InternalDataSink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsData(HistoryFlavor flavor)
Returns whether or not the storer can accept the specified type of data.java.util.List<DataSinkInformation>
getInfo()
Gets the information for this sink, as well as any below it.java.lang.String
getPipelineName()
Returns the name of the store and forward pipeline that this sink belongs to.QuarantineManager
getQuarantineManager()
Returns the quarantine interface for the sink.boolean
isAccepting()
Returns whether the data store is accepting data.boolean
isLicensedFor(HistoryFlavor arg0)
Assuming the storer accepts the flavor, is it currently licensed for it? If not, the data will not be stored.void
shutdown()
void
startup()
void
storeData(HistoricalData data)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.gateway.history.DataSink
getLogName
-
-
-
-
Method Detail
-
acceptsData
public boolean acceptsData(HistoryFlavor flavor)
Description copied from interface:HistoryStorer
Returns whether or not the storer can accept the specified type of data.- Specified by:
acceptsData
in interfaceHistoryStorer
-
storeData
public void storeData(HistoricalData data) throws java.lang.Exception
- Specified by:
storeData
in interfaceHistoryStorer
- Throws:
java.lang.Exception
-
getInfo
public java.util.List<DataSinkInformation> getInfo()
Description copied from interface:DataSink
Gets the information for this sink, as well as any below it.
-
getPipelineName
public java.lang.String getPipelineName()
Description copied from interface:DataSink
Returns the name of the store and forward pipeline that this sink belongs to.- Specified by:
getPipelineName
in interfaceDataSink
-
getQuarantineManager
public QuarantineManager getQuarantineManager()
Description copied from interface:DataSink
Returns the quarantine interface for the sink. If the sink doesn't support quarantined data, can return null.- Specified by:
getQuarantineManager
in interfaceDataSink
-
isAccepting
public boolean isAccepting()
Description copied from interface:DataSink
Returns whether the data store is accepting data.- Specified by:
isAccepting
in interfaceDataSink
-
isLicensedFor
public boolean isLicensedFor(HistoryFlavor arg0)
Description copied from interface:HistoryStorer
Assuming the storer accepts the flavor, is it currently licensed for it? If not, the data will not be stored.- Specified by:
isLicensedFor
in interfaceHistoryStorer
-
-