Interface DataSink
- 
- All Superinterfaces:
- HistoryStorer
 - All Known Subinterfaces:
- DataStore,- StoreAndForwardEngine
 - All Known Implementing Classes:
- AbstractDatasourceSink,- AbstractSink,- AggregateSink
 
 public interface DataSink extends HistoryStorer A data sink accepts history. It's just a bit heavier weight than a plain old HistoryStorer, from which it extends. It supports startup and shutdown, along with the idea that it may not always be able to or want to accept data, which is indicated by the "isAccepting" property.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringLOG_NAME_TEMPLATEThe template for loggers under the store and forward system.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.List<DataSinkInformation>getInfo()Gets the information for this sink, as well as any below it.default java.lang.StringgetLogName()How this element will be represented in the log system.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.booleanisAccepting()Returns whether the data store is accepting data.voidshutdown()voidstartup()- 
Methods inherited from interface com.inductiveautomation.ignition.gateway.history.HistoryStoreracceptsData, isLicensedFor, storeData
 
- 
 
- 
- 
- 
Field Detail- 
LOG_NAME_TEMPLATEstatic final java.lang.String LOG_NAME_TEMPLATE The template for loggers under the store and forward system. Includes a string format parameter- should be ObjectName- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getPipelineNamejava.lang.String getPipelineName() Returns the name of the store and forward pipeline that this sink belongs to.
 - 
startupvoid startup() 
 - 
shutdownvoid shutdown() 
 - 
isAcceptingboolean isAccepting() Returns whether the data store is accepting data.
 - 
getInfojava.util.List<DataSinkInformation> getInfo() Gets the information for this sink, as well as any below it.
 - 
getQuarantineManager@Nullable QuarantineManager getQuarantineManager() Returns the quarantine interface for the sink. If the sink doesn't support quarantined data, can return null.
 - 
getLogNamedefault java.lang.String getLogName() How this element will be represented in the log system. The full name of the logger will be "StoreAndForward.{ThisValue}" It should be surrounded with a MDC key of the pipeline name
 
- 
 
-