Class AbstractSink
java.lang.Object
com.inductiveautomation.ignition.gateway.history.sf.sinks.AbstractSink
- All Implemented Interfaces:
DataSink,HistoryStorer
- Direct Known Subclasses:
AbstractDatasourceSink
-
Field Summary
FieldsFields inherited from interface com.inductiveautomation.ignition.gateway.history.DataSink
LOG_NAME_TEMPLATE -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.gateway.history.DataSink
getInfo, getLogNameMethods inherited from interface com.inductiveautomation.ignition.gateway.history.HistoryStorer
acceptsData, isLicensedFor, storeData
-
Field Details
-
faulted
protected boolean faulted -
faultError
-
faultTime
protected long faultTime
-
-
Constructor Details
-
AbstractSink
-
-
Method Details
-
startup
public void startup() -
shutdown
public void shutdown() -
getPipelineName
Description copied from interface:DataSinkReturns the name of the store and forward pipeline that this sink belongs to.- Specified by:
getPipelineNamein interfaceDataSink
-
getLogger
-
createLogger
-
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 interfaceDataSink
-
initialize
- Throws:
Exception
-
uninitialize
protected void uninitialize() -
isStarted
protected boolean isStarted() -
isInitialized
protected boolean isInitialized() -
tryToInit
protected boolean tryToInit() -
setInitialized
protected void setInitialized(boolean value) -
isAccepting
public boolean isAccepting()Description copied from interface:DataSinkReturns whether the data store is accepting data.- Specified by:
isAcceptingin interfaceDataSink
-
isFaulted
public boolean isFaulted() -
getFaultReason
-
setFaulted
-