MediaWiki
REL1_22
|
PostgreSQL version of DBLockManager that supports shared locks. More...
Protected Member Functions | |
doGetLocksOnServer ($lockSrv, array $paths, $type) | |
releaseAllLocks () | |
Protected Attributes | |
Array | $lockTypeMap |
Mapping of lock types to the type actually used *. |
PostgreSQL version of DBLockManager that supports shared locks.
All locks are non-blocking, which avoids deadlocks.
Definition at line 357 of file DBLockManager.php.
PostgreSqlLockManager::doGetLocksOnServer | ( | $ | lockSrv, |
array $ | paths, | ||
$ | type | ||
) | [protected] |
Definition at line 364 of file DBLockManager.php.
PostgreSqlLockManager::releaseAllLocks | ( | ) | [protected] |
Reimplemented from QuorumLockManager.
Definition at line 414 of file DBLockManager.php.
References as, Status\newGood(), and DatabaseBase\query().
Array PostgreSqlLockManager::$lockTypeMap [protected] |
array( self::LOCK_SH => self::LOCK_SH, self::LOCK_UW => self::LOCK_SH, self::LOCK_EX => self::LOCK_EX )
Mapping of lock types to the type actually used *.
Reimplemented from LockManager.
Definition at line 358 of file DBLockManager.php.