LockAcquisition
Provides a set of methods to acquire different types of lock.
Acquires read lock for the specified object.
Acquires read lock for the specified object.
Acquires upgradeable read lock for the specified object.
Acquires upgradeable read lock for the specified object.
Acquires write lock for the specified object.
Acquires write lock for the specified object.