public interface TransactionLogStore
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidDeletes all entries of the transaction log for given transaction identifiervoidlist()List all transactions that require recoveryList all transaction log entries for given process id regardless of the transaction it was written withbyte[]Reads the content of the process instance associated with given process id and process instance idvoidPersists given content that is associated with transaction id, process id and instance id
-
Method Details
-
store
Persists given content that is associated with transaction id, process id and instance id- Parameters:
transactionId- identifier of the transactionprocessId- identifier of the process definitioninstanceId- identifier of the process instancecontent- content of the process instance
-
load
Reads the content of the process instance associated with given process id and process instance id- Parameters:
processId- identifier of the process definitioninstanceId- identifier of the process instance- Returns:
- content content of the process instance
-
list
List all transaction log entries for given process id regardless of the transaction it was written with- Parameters:
processId- identifier of the process definition- Returns:
- not null set of instances that should be recovered
-
list
List all transactions that require recovery- Returns:
- set of transactions ids to be reovered or empty set
-
delete
Deletes all entries of the transaction log for given transaction identifier- Parameters:
transactionId- identifier of the transaction
-
delete
-
contains
-