relstorage.adapters.locker – Locker implementations#
- class AbstractLocker(options, driver, batcher_factory)#
- on_store_opened(cursor, restart=False)#
A callback that must be called when a store connection is opened or restarted.
This implementation calls
_on_store_opened_set_row_lock_timeout()when the store connection is initially opened.
- supports_row_lock_nowait = True#
Set this to a false value if you don’t support
NOWAITand we’ll instead set the lock timeout to a low value.