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 LoggerEx
protected LoggerEx
Returns the name of the store and forward pipeline that this sink belongs to.Returns the quarantine interface for the sink.protected void
boolean
Returns whether the data store is accepting data.boolean
protected boolean
protected boolean
void
setFaulted
(String message, Exception e) protected void
setInitialized
(boolean value) void
shutdown()
void
startup()
protected boolean
protected void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.gateway.history.DataSink
getInfo, getLogName
Methods 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:DataSink
Returns the name of the store and forward pipeline that this sink belongs to.- Specified by:
getPipelineName
in interfaceDataSink
-
getLogger
-
createLogger
-
getQuarantineManager
Description copied from interface:DataSink
Returns the quarantine interface for the sink. If the sink doesn't support quarantined data, can return null.- Specified by:
getQuarantineManager
in 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:DataSink
Returns whether the data store is accepting data.- Specified by:
isAccepting
in interfaceDataSink
-
isFaulted
public boolean isFaulted() -
getFaultReason
-
setFaulted
-