[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Author: | Aaron Schulz |
File Size: | 417 lines (14 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PoolCounterRedis:: (13 methods):
__construct()
getConnection()
acquireForMe()
acquireForAnyone()
release()
waitForSlotOrNotif()
initAndPopPoolSlotList()
registerAcquisitionTime()
getSlotListKey()
getSlotRTimeSetKey()
getWaitSetKey()
getWakeupListKey()
releaseAll()
Class: PoolCounterRedis - X-Ref
Version of PoolCounter that uses Redis__construct( $conf, $type, $key ) X-Ref |
No description |
getConnection() X-Ref |
return: Status Uses RediConnRef as value on success |
acquireForMe() X-Ref |
No description |
acquireForAnyone() X-Ref |
No description |
release() X-Ref |
No description |
waitForSlotOrNotif( $doWakeup ) X-Ref |
param: int $doWakeup AWAKE_* constant return: Status |
initAndPopPoolSlotList( RedisConnRef $conn, $now ) X-Ref |
param: RedisConnRef $conn param: float $now UNIX timestamp return: string|bool False on failure |
registerAcquisitionTime( RedisConnRef $conn, $slot, $now ) X-Ref |
param: RedisConnRef $conn param: string $slot param: float $now return: int|bool False on failure |
getSlotListKey() X-Ref |
return: string |
getSlotRTimeSetKey() X-Ref |
return: string |
getWaitSetKey() X-Ref |
return: string |
getWakeupListKey() X-Ref |
return: string |
releaseAll() X-Ref |
Try to make sure that locks get released (even with exceptions and fatals) |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |