l.s.d.locking : module documentation

Part of lp.services.database

No module docstring
Class AdvisoryLockHeld An attempt to acquire an advisory lock failed; it is already held.
Class LockType Undocumented
Function try_advisory_lock Try to acquire an advisory lock.
@contextmanager
def try_advisory_lock(lock_type, lock_id, store):
Try to acquire an advisory lock.

If the lock is currently held, AdvisoryLockHeld will be raised.

API Documentation for Launchpad, generated by pydoctor at 2018-10-19 00:00:06.