public class LocalHistorianSFEngine extends java.lang.Object implements StoreAndForwardEngine
LOG_NAME_TEMPLATE
Constructor and Description |
---|
LocalHistorianSFEngine(DataSink sink) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsData(HistoryFlavor dataType)
Returns whether or not the storer can accept the specified type of data.
|
java.util.List<DataSinkInformation> |
getInfo()
Gets the information for this sink, as well as any below it.
|
java.lang.String |
getLogName()
How this element will be represented in the log system.
|
java.lang.String |
getPipelineName()
Returns the name of the store and forward pipeline that this sink belongs to.
|
QuarantineManager |
getQuarantineManager()
Returns the quarantine interface for the sink.
|
boolean |
isAccepting()
Returns whether the data store is accepting data.
|
boolean |
isLicensedFor(HistoryFlavor dataType)
Assuming the storer accepts the flavor, is it currently licensed for it? If not, the data will not be stored.
|
void |
shutdown() |
void |
startup() |
void |
storeData(HistoricalData data) |
public LocalHistorianSFEngine(DataSink sink)
public void storeData(HistoricalData data) throws java.lang.Exception
storeData
in interface HistoryStorer
java.lang.Exception
public boolean acceptsData(HistoryFlavor dataType)
HistoryStorer
acceptsData
in interface HistoryStorer
public boolean isLicensedFor(HistoryFlavor dataType)
HistoryStorer
isLicensedFor
in interface HistoryStorer
public java.lang.String getPipelineName()
DataSink
getPipelineName
in interface DataSink
public boolean isAccepting()
DataSink
isAccepting
in interface DataSink
public java.util.List<DataSinkInformation> getInfo()
DataSink
public QuarantineManager getQuarantineManager()
DataSink
getQuarantineManager
in interface DataSink
public java.lang.String getLogName()
DataSink
getLogName
in interface DataSink