Class Resque_Redis
Inheritance | Resque_Redis » Redisent |
---|
Extended Redisent class used by Resque for all communication with redis. Essentially adds namespace support to Redisent.
Public Methods
Method | Description | Defined By |
---|---|---|
__call() | Magic method to handle all function requests and prefix key based operations with the {self::$defaultNamespace} key prefix. | Resque_Redis |
__construct() | Creates a Redisent connection to the Redis server on host {@link $host} and port {@link $port}. | Redisent |
__destruct() | Redisent | |
establishConnection() | Redisent | |
prefix() | Set Redis namespace (prefix) default: resque | Resque_Redis |
Method Details
Magic method to handle all function requests and prefix key based operations with the {self::$defaultNamespace} key prefix.
public mixed __call ( $name, $args ) | ||
$name | string | The name of the method called. |
$args | array | Array of supplied arguments to the method. |
return | mixed | Return value from Resident::call() based on the command. |
---|
Set Redis namespace (prefix) default: resque
public static void prefix ( $namespace ) | ||
$namespace | string |