[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Version of LockManager that uses a quorum from peer servers for locks. 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.
File Size: | 248 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
doLock( array $paths, $type ) X-Ref |
No description |
doUnlock( array $paths, $type ) X-Ref |
No description |
doLockByType( array $pathsByType ) X-Ref |
No description |
doUnlockByType( array $pathsByType ) X-Ref |
No description |
doLockingRequestBucket( $bucket, array $pathsByType ) X-Ref |
Attempt to acquire locks with the peers for a bucket. This is all or nothing; if any key is locked then this totally fails. param: int $bucket param: array $pathsByType Map of LockManager::LOCK_* constants to lists of paths return: Status |
doUnlockingRequestBucket( $bucket, array $pathsByType ) X-Ref |
Attempt to release locks with the peers for a bucket param: int $bucket param: array $pathsByType Map of LockManager::LOCK_* constants to lists of paths return: Status |
getBucketFromPath( $path ) X-Ref |
Get the bucket for resource path. This should avoid throwing any exceptions. param: string $path return: int |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |