Interface ForwardTransaction
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 SummaryModifier and TypeMethodDescriptiongetData()Gets the value in the transaction.intCalled when the data has been successfully forwarded to the data store.intmarkFailed(Exception err) Called when there's a failure.
- 
Method Details- 
getDataHistoricalData getData()Gets the value in the transaction. Usually just one value, but can be more in the form of a DataTransaction.
- 
markCompleteint markComplete()Called when the data has been successfully forwarded to the data store.- Returns:
- Amount of items that were successfully forwarded
 
- 
markFailedCalled when there's a failure. The failure may be critical or not. After several failures, the data will likely be quarantined.- Returns:
- Amount of items that failed to forward
 
 
-