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.
-
-
Field Summary
Fields Modifier and Type Field Description static HistoryFlavor
FLAVOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
storeToConnection(SRConnection conn)
Called after passing through the store and forward system, the data should store itself to the open connection.-
Methods inherited from interface com.inductiveautomation.ignition.gateway.history.HistoricalData
getDataCount, getFlavor, getLoggerName, getSignature
-
-
-
-
Field Detail
-
FLAVOR
static final HistoryFlavor FLAVOR
-
-
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
-
-