Interface DatasourceData

  • All Superinterfaces:
    HistoricalData, java.io.Serializable
    All Known Implementing Classes:
    BasicHistoricalRecord

    public interface DatasourceData
    extends HistoricalData
    This interface represents historical data that knows how to store itself to a database connection. It will go through the store and forward pipeline, and when the time comes for it to write, will be called with an open database connection.
    • Method Detail

      • storeToConnection

        void storeToConnection​(SRConnection conn)
                        throws java.lang.Exception
        Called after passing through the store and forward system, the data should store itself to the open connection. If it cannot, it should throw an exception. After several retries, the data will be quarantined.
        Throws:
        java.lang.Exception