- commit
Commits all modifications made within the current transaction scope. The current
scope is still vali
- exit
Exits the current transaction scope, rolling back all uncommitted modifications
made within. The tra
- reset
Reset the transaction due to the given cause. This provides an opportunity to
prevent this transacti
- durabilityMode
Sets the durability mode for the entire transaction, not just the current scope.
The durability mode
- lockMode
Sets the lock mode for the current scope. Transactions begin in
LockMode#UPGRADABLE_READ mode, and n
- enter
Enters a nested transaction scope.
- lockExclusive
Attempts to acquire an exclusive lock for the given key, denying any additional
locks. If return val
- unlock
Fully releases last lock acquired, within the current scope. If the last lock
operation was an upgra
- lockCheck
Checks the lock ownership for the given key.Note: This method is intended for
advanced use cases.
- lockShared
Attempts to acquire a shared lock for the given key, denying exclusive locks. If
return value is Loc
- lockUpgradable
Attempts to acquire an upgradable lock for the given key, denying exclusive and
additional upgradabl
- unlockCombine
Combines the last lock acquired or upgraded into a group which can be unlocked
together.Note: This m