Interface HistoryStorer
-
- All Known Subinterfaces:
DataSink
,DataStore
,StoreAndForwardEngine
- All Known Implementing Classes:
AbstractDatasourceSink
,AbstractSink
,AggregateSink
,HistorianSink
,LocalHistorianSFEngine
,RemoteHistorianSink
,TagHistoryDatasourceSink
,TagHistorySplitterProvider.InternalDataSink
public interface HistoryStorer
Defines a unit that can accept historical data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptsData(HistoryFlavor dataType)
Returns whether or not the storer can accept the specified type of 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
storeData(HistoricalData data)
-
-
-
Method Detail
-
storeData
void storeData(@Nullable HistoricalData data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
acceptsData
boolean acceptsData(HistoryFlavor dataType)
Returns whether or not the storer can accept the specified type of data.
-
isLicensedFor
boolean isLicensedFor(HistoryFlavor dataType)
Assuming the storer accepts the flavor, is it currently licensed for it? If not, the data will not be stored.
-
-