Interface HistoryStorer

All Known Subinterfaces:
DataSink, DataStore, StoreAndForwardEngine
All Known Implementing Classes:
AbstractDatasourceSink, AbstractSink, AggregateSink

public interface HistoryStorer
Defines a unit that can accept historical data.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether or not the storer can accept the specified type of data.
    boolean
    Assuming the storer accepts the flavor, is it currently licensed for it? If not, the data will not be stored.
    void
     
  • Method Details

    • storeData

      void storeData(@Nullable HistoricalData data) throws Exception
      Throws:
      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.