Class AbstractSink
java.lang.Object
com.inductiveautomation.ignition.gateway.history.sf.sinks.AbstractSink
- All Implemented Interfaces:
- DataSink,- HistoryStorer
- Direct Known Subclasses:
- AbstractDatasourceSink
- 
Field SummaryFieldsFields inherited from interface com.inductiveautomation.ignition.gateway.history.DataSinkLOG_NAME_TEMPLATE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected final LoggerExprotected LoggerExReturns the name of the store and forward pipeline that this sink belongs to.Returns the quarantine interface for the sink.protected voidbooleanReturns whether the data store is accepting data.booleanprotected booleanprotected booleanvoidsetFaulted(String message, Exception e) protected voidsetInitialized(boolean value) voidshutdown()voidstartup()protected booleanprotected voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.gateway.history.DataSinkgetInfo, getLogNameMethods inherited from interface com.inductiveautomation.ignition.gateway.history.HistoryStoreracceptsData, isLicensedFor, storeData
- 
Field Details- 
faultedprotected boolean faulted
- 
faultError
- 
faultTimeprotected long faultTime
 
- 
- 
Constructor Details- 
AbstractSink
 
- 
- 
Method Details- 
startuppublic void startup()
- 
shutdownpublic void shutdown()
- 
getPipelineNameDescription copied from interface:DataSinkReturns the name of the store and forward pipeline that this sink belongs to.- Specified by:
- getPipelineNamein interface- DataSink
 
- 
getLogger
- 
createLogger
- 
getQuarantineManagerDescription 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
 
- 
initialize- Throws:
- Exception
 
- 
uninitializeprotected void uninitialize()
- 
isStartedprotected boolean isStarted()
- 
isInitializedprotected boolean isInitialized()
- 
tryToInitprotected boolean tryToInit()
- 
setInitializedprotected void setInitialized(boolean value) 
- 
isAcceptingpublic boolean isAccepting()Description copied from interface:DataSinkReturns whether the data store is accepting data.- Specified by:
- isAcceptingin interface- DataSink
 
- 
isFaultedpublic boolean isFaulted()
- 
getFaultReason
- 
setFaulted
 
-