public class DBTransactionMappingStorage implements StateMachineRecordedTransactionMappingStorage
Database storage of a txhash -> state machine id mapping.
Mappings are added as transactions are persisted by ServiceHub.recordTransaction, and never deleted. Used in the RPC API to correlate transaction creation with flows.
Constructor and Description |
---|
DBTransactionMappingStorage()
Database storage of a txhash -> state machine id mapping.
|
Modifier and Type | Method and Description |
---|---|
void |
addMapping(StateMachineRunId stateMachineRunId,
SecureHash transactionId) |
kotlin.Pair<java.util.List,rx.Observable> |
track() |
addMapping, track
public DBTransactionMappingStorage()
Database storage of a txhash -> state machine id mapping.
Mappings are added as transactions are persisted by ServiceHub.recordTransaction, and never deleted. Used in the RPC API to correlate transaction creation with flows.
public void addMapping(StateMachineRunId stateMachineRunId, SecureHash transactionId)
public kotlin.Pair<java.util.List,rx.Observable> track()