Class AbstractSink
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.history.sf.sinks.AbstractSink
 
- 
- All Implemented Interfaces:
- DataSink,- HistoryStorer
 - Direct Known Subclasses:
- AbstractDatasourceSink
 
 public abstract class AbstractSink extends java.lang.Object implements DataSink 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanfaultedprotected java.lang.ExceptionfaultErrorprotected longfaultTime- 
Fields inherited from interface com.inductiveautomation.ignition.gateway.history.DataSinkLOG_NAME_TEMPLATE
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractSink(java.lang.String pipelineName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LoggerExcreateLogger()java.lang.ExceptiongetFaultReason()protected LoggerExgetLogger()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 voidinitialize()booleanisAccepting()Returns whether the data store is accepting data.booleanisFaulted()protected booleanisInitialized()protected booleanisStarted()voidsetFaulted(java.lang.String message, java.lang.Exception e)protected voidsetInitialized(boolean value)voidshutdown()voidstartup()protected booleantryToInit()protected voiduninitialize()- 
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.DataSinkgetInfo, getLogName
 - 
Methods inherited from interface com.inductiveautomation.ignition.gateway.history.HistoryStoreracceptsData, isLicensedFor, storeData
 
- 
 
- 
- 
- 
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
 
 - 
getLoggerprotected LoggerEx getLogger() 
 - 
createLoggerprotected final LoggerEx createLogger() 
 - 
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
 
 - 
initializeprotected void initialize() throws java.lang.Exception- Throws:
- java.lang.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() 
 - 
getFaultReasonpublic java.lang.Exception getFaultReason() 
 - 
setFaultedpublic void setFaulted(java.lang.String message, java.lang.Exception e)
 
- 
 
-