Class Redis
A cache service that stored data in Redis
- Wei\Base
-
Wei\BaseCache
-
Wei\Redis
public
|
|
public
mixed
|
|
public
boolean
|
|
public
mixed
|
|
public
boolean
|
|
public
array
|
|
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
integer|false
|
|
public
boolean
|
|
public
Redis
|
|
public
|
decr(),
getFileContent(),
getNamespace(),
processGetResult(),
setNamespace()
|
__call(),
__get(),
getOption(),
setOption()
|
protected
Redis
|
$object
The redis object |
|
protected
string
|
$host
The host, or the path to a unix domain socket |
#
'127.0.0.1'
|
protected
integer
|
$port
The port of the host |
#
6379
|
protected
float|integer
|
$timeout
The timeout seconds |
#
0.0
|
protected
boolean
|
$persistent
Whether persistent connection or not |
#
true
|
protected
string
|
$auth
A password to authenticate the connection |
|
protected
array
|
$options
The options for \Redis::setOptions() |
#
array(
\Redis::OPT_SERIALIZER => \Redis::SERIALIZER_PHP
)
|
$namespace
|
$providers,
$wei
|