Class AggregateSink
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.history.sf.sinks.AggregateSink
 
- 
- All Implemented Interfaces:
- DataSink,- HistoryStorer
 
 public class AggregateSink extends java.lang.Object implements DataSink The aggregate sink pulls together sinks that support different types of data. For example, the TagHistory sink and the RecordHistory sink.
- 
- 
Field Summary- 
Fields inherited from interface com.inductiveautomation.ignition.gateway.history.DataSinkLOG_NAME_TEMPLATE
 
- 
 - 
Constructor SummaryConstructors Constructor Description AggregateSink(java.lang.String pipelineName, DataSink... dataSinks)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsData(HistoryFlavor dataType)Returns whether or not the storer can accept the specified type of data.voidaddSink(DataSink sink)Adds a sink to the list.java.util.List<DataSinkInformation>getInfo()Gets the information for this sink, as well as any below it.java.lang.StringgetPipelineName()Returns the name of the store and forward pipeline that this sink belongs to.QuarantineManagergetQuarantineManager()Returns the quarantine interface for the sink.protected java.util.List<DataSink>getSinks()booleanisAccepting()Only true if ALL data sinks are accepting.booleanisLicensedFor(HistoryFlavor dataType)Assuming the storer accepts the flavor, is it currently licensed for it? If not, the data will not be stored.voidremoveSink(DataSink sink)voidshutdown()voidstartup()voidstoreData(HistoricalData data)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.gateway.history.DataSinkgetLogName
 
- 
 
- 
- 
- 
Constructor Detail- 
AggregateSinkpublic AggregateSink(java.lang.String pipelineName, DataSink... dataSinks)
 
- 
 - 
Method Detail- 
getPipelineNamepublic java.lang.String getPipelineName() Description copied from interface:DataSinkReturns the name of the store and forward pipeline that this sink belongs to.- Specified by:
- getPipelineNamein interface- DataSink
 
 - 
getSinksprotected java.util.List<DataSink> getSinks() 
 - 
addSinkpublic void addSink(DataSink sink) Adds a sink to the list. Will start the sink if this aggregate sink is started.
 - 
removeSinkpublic void removeSink(DataSink sink) 
 - 
getInfopublic java.util.List<DataSinkInformation> getInfo() Description copied from interface:DataSinkGets the information for this sink, as well as any below it.
 - 
getQuarantineManagerpublic QuarantineManager getQuarantineManager() Description copied from interface:DataSinkReturns the quarantine interface for the sink. If the sink doesn't support quarantined data, can return null.- Specified by:
- getQuarantineManagerin interface- DataSink
 
 - 
isAcceptingpublic boolean isAccepting() Only true if ALL data sinks are accepting.- Specified by:
- isAcceptingin interface- DataSink
 
 - 
acceptsDatapublic boolean acceptsData(HistoryFlavor dataType) Description copied from interface:HistoryStorerReturns whether or not the storer can accept the specified type of data.- Specified by:
- acceptsDatain interface- HistoryStorer
 
 - 
isLicensedForpublic boolean isLicensedFor(HistoryFlavor dataType) Description copied from interface:HistoryStorerAssuming the storer accepts the flavor, is it currently licensed for it? If not, the data will not be stored.- Specified by:
- isLicensedForin interface- HistoryStorer
 
 - 
storeDatapublic void storeData(HistoricalData data) throws java.lang.Exception - Specified by:
- storeDatain interface- HistoryStorer
- Throws:
- java.lang.Exception
 
 
- 
 
-