An internal set of resources supporting bulk operations for Transaction.
Wait until the resources have no exclusive transactions and then lock.
Acquire locks synchronously.
Throws an error if resources aren't lockable.
Ensure that a transaction that is committing or rolling back has all resources locked.
This is just a sanity check.
Release locks.
An internal set of resources supporting bulk operations for Transaction.