MediaWiki
REL1_24
|
Helper class to handle automatically marking connectons as reusable (via RAII pattern) More...
Public Member Functions | |
__call ($name, $arguments) | |
__construct (RedisConnectionPool $pool, $server, Redis $conn) | |
__destruct () | |
clearLastError () | |
getLastError () | |
getServer () | |
isConnIdentical (Redis $conn) | |
luaEval ($script, array $params, $numKeys) | |
Protected Attributes | |
Redis | $conn |
* | |
$lastError | |
RedisConnectionPool | $pool |
* | |
$server |
Helper class to handle automatically marking connectons as reusable (via RAII pattern)
This class simply wraps the Redis class and can be used the same way
Definition at line 367 of file RedisConnectionPool.php.
RedisConnRef::__construct | ( | RedisConnectionPool $ | pool, |
$ | server, | ||
Redis $ | conn | ||
) |
RedisConnectionPool | $pool | |
string | $server | |
Redis | $conn |
Definition at line 379 of file RedisConnectionPool.php.
Definition at line 484 of file RedisConnectionPool.php.
RedisConnRef::__call | ( | $ | name, |
$ | arguments | ||
) |
Definition at line 401 of file RedisConnectionPool.php.
Definition at line 397 of file RedisConnectionPool.php.
Definition at line 393 of file RedisConnectionPool.php.
RedisConnRef::isConnIdentical | ( | Redis $ | conn | ) |
RedisConnRef::luaEval | ( | $ | script, |
array $ | params, | ||
$ | numKeys | ||
) |
string | $script | |
array | $params | |
int | $numKeys |
RedisException |
Definition at line 442 of file RedisConnectionPool.php.
Redis RedisConnRef::$conn [protected] |
RedisConnRef::$lastError [protected] |
Definition at line 372 of file RedisConnectionPool.php.
RedisConnectionPool RedisConnRef::$pool [protected] |
RedisConnRef::$server [protected] |
Definition at line 371 of file RedisConnectionPool.php.
Referenced by getServer().