MediaWiki
REL1_22
|
LockServerDaemon helper class that keeps track of the locks. More...
Public Member Functions | |
__construct ($maxLocks) | |
$maxLocks integer Maximum number of locks to allow | |
lock ($session, $type, array $keys) | |
release ($session) | |
sessionHasLocks ($session) | |
unlock ($session, $type, array $keys) | |
Protected Member Functions | |
set_ex_lock ($key, $session) | |
set_sh_lock ($key, $session) | |
unset_ex_lock ($key, $session) | |
unset_sh_lock ($key, $session) | |
Protected Attributes | |
Array | $exLocks = array() |
* | |
$lockCount = 0 | |
$maxLocks | |
Array | $sessionIndexEx = array() |
* | |
Array | $sessionIndexSh = array() |
* | |
Array | $shLocks = array() |
* |
LockServerDaemon helper class that keeps track of the locks.
Definition at line 459 of file LockServerDaemon.php.
LockHolder::__construct | ( | $ | maxLocks | ) |
$maxLocks integer Maximum number of locks to allow
Definition at line 472 of file LockServerDaemon.php.
LockHolder::lock | ( | $ | session, |
$ | type, | ||
array $ | keys | ||
) |
$session | string |
$type | string |
$keys | Array |
Definition at line 491 of file LockServerDaemon.php.
LockHolder::release | ( | $ | session | ) |
LockHolder::sessionHasLocks | ( | $ | session | ) |
LockHolder::set_ex_lock | ( | $ | key, |
$ | session | ||
) | [protected] |
$key | string |
$session | string |
Definition at line 587 of file LockServerDaemon.php.
LockHolder::set_sh_lock | ( | $ | key, |
$ | session | ||
) | [protected] |
$key | string |
$session | string |
Definition at line 574 of file LockServerDaemon.php.
LockHolder::unlock | ( | $ | session, |
$ | type, | ||
array $ | keys | ||
) |
$session | string |
$type | string |
$keys | Array |
Definition at line 536 of file LockServerDaemon.php.
LockHolder::unset_ex_lock | ( | $ | key, |
$ | session | ||
) | [protected] |
$key | string |
$session | string |
Definition at line 619 of file LockServerDaemon.php.
LockHolder::unset_sh_lock | ( | $ | key, |
$ | session | ||
) | [protected] |
$key | string |
$session | string |
Definition at line 600 of file LockServerDaemon.php.
Array LockHolder::$exLocks = array() [protected] |
*
Definition at line 461 of file LockServerDaemon.php.
LockHolder::$lockCount = 0 [protected] |
Definition at line 465 of file LockServerDaemon.php.
LockHolder::$maxLocks [protected] |
Definition at line 467 of file LockServerDaemon.php.
Array LockHolder::$sessionIndexEx = array() [protected] |
*
Definition at line 464 of file LockServerDaemon.php.
Array LockHolder::$sessionIndexSh = array() [protected] |
*
Definition at line 463 of file LockServerDaemon.php.
Array LockHolder::$shLocks = array() [protected] |
*
Definition at line 460 of file LockServerDaemon.php.