redis\Connection $redisCommands

$redisCommands public property List of available redis commands http://redis.io/commands public array $redisCommands = ['BLPOP', 'BRPOP', 'BRPOPLPUSH', 'CLIENT KILL', 'CLIENT LIST', 'CLIENT GETNAME', 'CLIENT SETNAME', 'CONFIG GET', 'CONFIG SET', 'CONFIG RESETSTAT', 'DBSIZE', 'DEBUG OBJECT', 'DEBUG SEGFAULT', 'DECR', 'DECRBY', 'DEL', 'DISCARD', 'DUMP', 'ECHO', 'EVAL', 'EVALSHA', 'EXEC', 'EXISTS', 'EXPIRE', 'EXPIREAT', 'FLUSHALL', 'FLUSHDB', 'GET', 'GETBIT', 'GETRANGE', 'GETSET', 'HDEL', 'HE

redis\Connection $port

$port public property The port to use for connecting to the redis server. Default port is 6379. If $unixSocket is specified, hostname and port will be ignored. public integer $port = 6379

redis\Connection $socketClientFlags

$socketClientFlags public property (available since version 2.0.5) Bitmask field which may be set to any combination of connection flags passed to stream_socket_client(). Currently the select of connection flags is limited to STREAM_CLIENT_CONNECT (default), STREAM_CLIENT_ASYNC_CONNECT and STREAM_CLIENT_PERSISTENT. See also http://php.net/manual/en/function.stream-socket-client.php. public integer $socketClientFlags = STREAM_CLIENT_CONNECT

redis\Connection $luaScriptBuilder

$luaScriptBuilder public read-only property public yii\redis\LuaScriptBuilder getLuaScriptBuilder ( )

redis\Connection $hostname

$hostname public property The hostname or ip address to use for connecting to the redis server. Defaults to 'localhost'. If $unixSocket is specified, hostname and port will be ignored. public string $hostname = 'localhost'

redis\Connection $isActive

$isActive public read-only property Whether the DB connection is established public boolean getIsActive ( )

redis\Connection $driverName

$driverName public read-only property Name of the DB driver public string getDriverName ( )

redis\Cache setValues()

setValues() protected method Stores multiple key-value pairs in cache. The default implementation calls setValue() multiple times store values one by one. If the underlying cache storage supports multi-set, this method should be overridden to exploit that feature. protected array setValues ( $data, $expire )$data array Array where key corresponds to cache key while value is the value stored $expire return array Array of failed keys

redis\Connection $database

$database public property The redis database to use. This is an integer value starting from 0. Defaults to 0. Since version 2.0.6 you can disable the SELECT command sent after connection by setting this property to null. public integer $database = 0

redis\Connection $dataTimeout

$dataTimeout public property Timeout to use for redis socket when reading and writing data. If not set the php default value will be used. public float $dataTimeout = null