interface StateMachineRecordedTransactionMappingStorage
This is the interface to storage storing state machine -> recorded tx mappings. Any time a transaction is recorded during a flow run addMapping should be called.
| addMapping |
abstract fun addMapping(stateMachineRunId: StateMachineRunId, transactionId: SecureHash): Unit |
| track |
abstract fun track(): Pair<List<StateMachineTransactionMapping>, Observable<StateMachineTransactionMapping>> |
| DBTransactionMappingStorage |
class DBTransactionMappingStorage : StateMachineRecordedTransactionMappingStorage
Database storage of a txhash -> state machine id mapping. |
| InMemoryStateMachineRecordedTransactionMappingStorage |
class InMemoryStateMachineRecordedTransactionMappingStorage : StateMachineRecordedTransactionMappingStorage
This is a temporary in-memory storage of a state machine id -> txhash mapping |