minos.plugins.aiopg.factories.common.locks
Classes
Aiopg Lock Database Operation Factory class. |
- class AiopgLockDatabaseOperationFactory[source]
Bases:
LockDatabaseOperationFactory
Aiopg Lock Database Operation Factory class.
- build_acquire(hashed_key)[source]
Build the database operation to acquire the lock.
- Parameters
hashed_key (int) – The hashed key that identifies the lock.
- Returns
A
DatabaseOperation
instance.- Return type