Interface ForwardTransaction
-
- All Known Implementing Classes:
LocalHistorianProvider.SyncManager.SyncTransaction
public interface ForwardTransaction
Represents a set of historical data that shares the same schema, and thus can likely be stored inside of a transaction in order to increase efficiency.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricalData
getData()
Gets the value in the transaction.void
markComplete()
Called when the data has been successfully forwarded to the data store.void
markFailed(java.lang.Exception err)
Called when there's a failure.
-
-
-
Method Detail
-
getData
HistoricalData getData()
Gets the value in the transaction. Usually just one value, but can be more in the form of a DataTransaction.
-
markComplete
void markComplete()
Called when the data has been successfully forwarded to the data store.
-
markFailed
void markFailed(java.lang.Exception err)
Called when there's a failure. The failure may be critical or not. After several failures, the data will likely be quarantined.
-
-