Class RedisClient
A Redis-based cache client
- Redis
-
AloFramework\Cache\Clients\RedisClient
implements
AloFramework\Cache\ClientInterface,
AloFramework\Config\Configurable
uses
AloFramework\Config\ConfigurableTrait (not available)
Author: Art a.molcanovas@gmail.com
Located at Clients/RedisClient.php
Methods summary
public
|
#
__construct(
Contructor |
public
boolean
|
|
public
integer
|
|
public
|
|
public
mixed
|
|
public
mixed|bool:
|
|
public
array
|
#
getMultiple( array $keys )
Get the values of all the specified keys. If one or more keys dont exist, the array will contain FALSE at the position of the key. |
public
boolean
|
|
public
bool:
|
#
setex( string $key, integer $ttl,
mixed $value )
Set the string value in argument as value of the key, with a time to live. |
public
bool:
|
#
setnx( string $key, string $value
)
Set the string value in argument as value of the key if the key doesn't already exist in the database. |
public
bool:
|
#
set( string $key, string $value,
integer $ttl = 0 )
Set the string value in argument as value of the key. |
public
array
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
mixed
|
|
public
boolean
|
|
public
|
|
public
|
|
public
integer
|
Methods inherited from Redis
__destruct(),
_prefix(),
_serialize(),
_unserialize(),
append(),
auth(),
bgSave(),
bgrewriteaof(),
bitcount(),
bitop(),
bitpos(),
blPop(),
brPop(),
brpoplpush(),
clearLastError(),
client(),
close(),
config(),
dbSize(),
debug(),
decr(),
decrBy(),
del(),
discard(),
dump(),
echo(),
eval(),
evalsha(),
evaluate(),
evaluateSha(),
exec(),
expire(),
expireAt(),
flushAll(),
flushDB(),
getAuth(),
getBit(),
getDBNum(),
getHost(),
getKeys(),
getLastError(),
getMode(),
getOption(),
getPersistentID(),
getPort(),
getRange(),
getReadTimeout(),
getSet(),
getTimeout(),
hDel(),
hExists(),
hGet(),
hGetAll(),
hIncrBy(),
hIncrByFloat(),
hKeys(),
hLen(),
hMget(),
hMset(),
hSet(),
hSetNx(),
hVals(),
hscan(),
incr(),
incrBy(),
incrByFloat(),
info(),
isConnected(),
keys(),
lGet(),
lGetRange(),
lInsert(),
lLen(),
lPop(),
lPush(),
lPushx(),
lRemove(),
lSet(),
lSize(),
lastSave(),
lindex(),
listTrim(),
lrange(),
lrem(),
ltrim(),
mget(),
migrate(),
move(),
mset(),
msetnx(),
multi(),
object(),
open(),
pconnect(),
persist(),
pexpire(),
pexpireAt(),
pfadd(),
pfcount(),
pfmerge(),
ping(),
pipeline(),
popen(),
psetex(),
psubscribe(),
pttl(),
publish(),
pubsub(),
punsubscribe(),
rPop(),
rPush(),
rPushx(),
randomKey(),
rawCommand(),
rename(),
renameKey(),
renameNx(),
resetStat(),
restore(),
rpoplpush(),
sAdd(),
sContains(),
sDiff(),
sDiffStore(),
sGetMembers(),
sInter(),
sInterStore(),
sMembers(),
sMove(),
sPop(),
sRandMember(),
sRemove(),
sSize(),
sUnion(),
sUnionStore(),
save(),
scan(),
scard(),
script(),
select(),
sendEcho(),
setBit(),
setOption(),
setRange(),
setTimeout(),
sismember(),
slaveof(),
slowlog(),
sort(),
sortAsc(),
sortAscAlpha(),
sortDesc(),
sortDescAlpha(),
srem(),
sscan(),
strlen(),
subscribe(),
substr(),
time(),
ttl(),
type(),
unsubscribe(),
unwatch(),
wait(),
watch(),
zAdd(),
zCard(),
zCount(),
zDelete(),
zDeleteRangeByRank(),
zDeleteRangeByScore(),
zIncrBy(),
zInter(),
zRange(),
zRangeByLex(),
zRangeByScore(),
zRank(),
zRem(),
zRemRangeByRank(),
zRemRangeByScore(),
zRemove(),
zRemoveRangeByScore(),
zRevRangeByScore(),
zRevRank(),
zReverseRange(),
zScore(),
zSize(),
zUnion(),
zinterstore(),
zrevrange(),
zscan(),
zunionstore()
Constants summary
Constants inherited from Redis
AFTER,
ATOMIC,
BEFORE,
MULTI,
OPT_PREFIX,
OPT_READ_TIMEOUT,
OPT_SCAN,
OPT_SERIALIZER,
PIPELINE,
REDIS_HASH,
REDIS_LIST,
REDIS_NOT_FOUND,
REDIS_SET,
REDIS_STRING,
REDIS_ZSET,
SCAN_NORETRY,
SCAN_RETRY,
SERIALIZER_IGBINARY,
SERIALIZER_NONE,
SERIALIZER_PHP
Properties summary
protected
Psr\Log\LoggerInterface
|
$log
Logger |