| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Object caching using memcached. 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: | 102 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Class: MemcachedPhpBagOStuff - X-Ref
A wrapper class for the pure-PHP memcached client, exposing a BagOStuff interface.| __construct( $params ) X-Ref |
| Constructor. Available parameters are: - servers: The list of IP:port combinations holding the memcached servers. - debug: Whether to set the debug flag in the underlying client. - persistent: Whether to use a persistent connection - compress_threshold: The minimum size an object must be before it is compressed - timeout: The read timeout in microseconds - connect_timeout: The connect timeout in seconds param: array $params |
| setDebug( $debug ) X-Ref |
param: bool $debug |
| getMulti( array $keys ) X-Ref |
param: array $keys return: array |
| lock( $key, $timeout = 0 ) X-Ref |
param: string $key param: int $timeout return: bool |
| unlock( $key ) X-Ref |
param: string $key return: mixed |
| incr( $key, $value = 1 ) X-Ref |
param: string $key param: int $value return: mixed |
| decr( $key, $value = 1 ) X-Ref |
param: string $key param: int $value return: mixed |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |