Interface yii\redis\ConnectionInterface

Implemented byyii\redis\Connection, yii\redis\predis\PredisConnection
Source Code https://github.com/yiisoft/yii2-redis/blob/master/src/ConnectionInterface.php

The execution of redis commands is possible with via executeCommand().

Public Methods

Hide inherited methods

Method Description Defined By
append() Append a value to a key. yii\redis\ConnectionInterface
auth() Authenticate to the server. yii\redis\ConnectionInterface
bgrewriteaof() Asynchronously rewrite the append-only file. yii\redis\ConnectionInterface
bgsave() Asynchronously save the dataset to disk. yii\redis\ConnectionInterface
bitcount() Count set bits in a string. yii\redis\ConnectionInterface
bitfield() Perform arbitrary bitfield integer operations on strings. yii\redis\ConnectionInterface
bitop() Perform bitwise operations between strings. yii\redis\ConnectionInterface
bitpos() Find first bit set or clear in a string. yii\redis\ConnectionInterface
blpop() Remove and get the first element in a list, or block until one is available. yii\redis\ConnectionInterface
brpop() Remove and get the last element in a list, or block until one is available. yii\redis\ConnectionInterface
brpoplpush() Pop a value from a list, push it to another list and return it; or block until one is available. yii\redis\ConnectionInterface
clientGetname() Get the current connection name. yii\redis\ConnectionInterface
clientKill() Kill the connection of a client. yii\redis\ConnectionInterface
clientList() Get the list of client connections. yii\redis\ConnectionInterface
clientPause() Stop processing commands from clients for some time. yii\redis\ConnectionInterface
clientReply() Instruct the server whether to reply to commands. yii\redis\ConnectionInterface
clientSetname() Set the current connection name. yii\redis\ConnectionInterface
close() yii\redis\ConnectionInterface
clusterAddslots() Assign new hash slots to receiving node. yii\redis\ConnectionInterface
clusterCountkeysinslot() Return the number of local keys in the specified hash slot. yii\redis\ConnectionInterface
clusterDelslots() Set hash slots as unbound in receiving node. yii\redis\ConnectionInterface
clusterFailover() Forces a slave to perform a manual failover of its master.. yii\redis\ConnectionInterface
clusterForget() Remove a node from the nodes table. yii\redis\ConnectionInterface
clusterGetkeysinslot() Return local key names in the specified hash slot. yii\redis\ConnectionInterface
clusterInfo() Provides info about Redis Cluster node state. yii\redis\ConnectionInterface
clusterKeyslot() Returns the hash slot of the specified key. yii\redis\ConnectionInterface
clusterMeet() Force a node cluster to handshake with another node. yii\redis\ConnectionInterface
clusterNodes() Get Cluster config for the node. yii\redis\ConnectionInterface
clusterReplicate() Reconfigure a node as a slave of the specified master node. yii\redis\ConnectionInterface
clusterReset() Reset a Redis Cluster node. yii\redis\ConnectionInterface
clusterSaveconfig() Forces the node to save cluster state on disk. yii\redis\ConnectionInterface
clusterSetslot() Bind a hash slot to a specific node. yii\redis\ConnectionInterface
clusterSlaves() List slave nodes of the specified master node. yii\redis\ConnectionInterface
clusterSlots() Get array of Cluster slot to node mappings. yii\redis\ConnectionInterface
command() Get array of Redis command details. yii\redis\ConnectionInterface
commandCount() Get total number of Redis commands. yii\redis\ConnectionInterface
commandGetkeys() Extract keys given a full Redis command. yii\redis\ConnectionInterface
commandInfo() Get array of specific Redis command details. yii\redis\ConnectionInterface
configGet() Get the value of a configuration parameter. yii\redis\ConnectionInterface
configResetstat() Reset the stats returned by INFO. yii\redis\ConnectionInterface
configRewrite() Rewrite the configuration file with the in memory configuration. yii\redis\ConnectionInterface
configSet() Set a configuration parameter to the given value. yii\redis\ConnectionInterface
dbsize() Return the number of keys in the selected database. yii\redis\ConnectionInterface
debugObject() Get debugging information about a key. yii\redis\ConnectionInterface
debugSegfault() Make the server crash. yii\redis\ConnectionInterface
decr() Decrement the integer value of a key by one. yii\redis\ConnectionInterface
decrby() Decrement the integer value of a key by the given number. yii\redis\ConnectionInterface
del() Delete a key. yii\redis\ConnectionInterface
discard() Discard all commands issued after MULTI. yii\redis\ConnectionInterface
dump() Return a serialized version of the value stored at the specified key.. yii\redis\ConnectionInterface
echo() Echo the given string. yii\redis\ConnectionInterface
eval() Execute a Lua script server side. yii\redis\ConnectionInterface
evalsha() Execute a Lua script server side. yii\redis\ConnectionInterface
exec() Execute all commands issued after MULTI. yii\redis\ConnectionInterface
executeCommand() yii\redis\ConnectionInterface
exists() Determine if a key exists. yii\redis\ConnectionInterface
expire() Set a key's time to live in seconds. yii\redis\ConnectionInterface
expireat() Set the expiration for a key as a UNIX timestamp. yii\redis\ConnectionInterface
flushall() Remove all keys from all databases. yii\redis\ConnectionInterface
flushdb() Remove all keys from the current database. yii\redis\ConnectionInterface
geoadd() Add one or more geospatial items in the geospatial index represented using a sorted set. yii\redis\ConnectionInterface
geodist() Returns the distance between two members of a geospatial index. yii\redis\ConnectionInterface
geohash() Returns members of a geospatial index as standard geohash strings. yii\redis\ConnectionInterface
geopos() Returns longitude and latitude of members of a geospatial index. yii\redis\ConnectionInterface
georadius() Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point. yii\redis\ConnectionInterface
georadiusbymember() Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member. yii\redis\ConnectionInterface
get() Get the value of a key. yii\redis\ConnectionInterface
getIsActive() yii\redis\ConnectionInterface
getbit() Returns the bit value at offset in the string value stored at key. yii\redis\ConnectionInterface
getrange() Get a substring of the string stored at a key. yii\redis\ConnectionInterface
getset() Set the string value of a key and return its old value. yii\redis\ConnectionInterface
hdel() Delete one or more hash fields. yii\redis\ConnectionInterface
hexists() Determine if a hash field exists. yii\redis\ConnectionInterface
hget() Get the value of a hash field. yii\redis\ConnectionInterface
hgetall() Get all the fields and values in a hash. yii\redis\ConnectionInterface
hincrby() Increment the integer value of a hash field by the given number. yii\redis\ConnectionInterface
hincrbyfloat() Increment the float value of a hash field by the given amount. yii\redis\ConnectionInterface
hkeys() Get all the fields in a hash. yii\redis\ConnectionInterface
hlen() Get the number of fields in a hash. yii\redis\ConnectionInterface
hmget() Get the values of all the given hash fields. yii\redis\ConnectionInterface
hmset() Set multiple hash fields to multiple values. yii\redis\ConnectionInterface
hscan() Incrementally iterate hash fields and associated values. yii\redis\ConnectionInterface
hset() Set the string value of a hash field. yii\redis\ConnectionInterface
hsetnx() Set the value of a hash field, only if the field does not exist. yii\redis\ConnectionInterface
hstrlen() Get the length of the value of a hash field. yii\redis\ConnectionInterface
hvals() Get all the values in a hash. yii\redis\ConnectionInterface
incr() Increment the integer value of a key by one. yii\redis\ConnectionInterface
incrby() Increment the integer value of a key by the given amount. yii\redis\ConnectionInterface
incrbyfloat() Increment the float value of a key by the given amount. yii\redis\ConnectionInterface
info() Get information and statistics about the server. yii\redis\ConnectionInterface
keys() Find all keys matching the given pattern. yii\redis\ConnectionInterface
lastsave() Get the UNIX time stamp of the last successful save to disk. yii\redis\ConnectionInterface
lindex() Get an element from a list by its index. yii\redis\ConnectionInterface
linsert() Insert an element before or after another element in a list. yii\redis\ConnectionInterface
llen() Get the length of a list. yii\redis\ConnectionInterface
lpop() Remove and get the first element in a list. yii\redis\ConnectionInterface
lpush() Prepend one or multiple values to a list. yii\redis\ConnectionInterface
lpushx() Prepend a value to a list, only if the list exists. yii\redis\ConnectionInterface
lrange() Get a range of elements from a list. yii\redis\ConnectionInterface
lrem() Remove elements from a list. yii\redis\ConnectionInterface
lset() Set the value of an element in a list by its index. yii\redis\ConnectionInterface
ltrim() Trim a list to the specified range. yii\redis\ConnectionInterface
mget() Get the values of all the given keys. yii\redis\ConnectionInterface
migrate() Atomically transfer a key from a Redis instance to another one.. yii\redis\ConnectionInterface
monitor() Listen for all requests received by the server in real time. yii\redis\ConnectionInterface
move() Move a key to another database. yii\redis\ConnectionInterface
mset() Set multiple keys to multiple values. yii\redis\ConnectionInterface
msetnx() Set multiple keys to multiple values, only if none of the keys exist. yii\redis\ConnectionInterface
multi() Mark the start of a transaction block. yii\redis\ConnectionInterface
object() Inspect the internals of Redis objects. yii\redis\ConnectionInterface
open() yii\redis\ConnectionInterface
persist() Remove the expiration from a key. yii\redis\ConnectionInterface
pexpire() Set a key's time to live in milliseconds. yii\redis\ConnectionInterface
pexpireat() Set the expiration for a key as a UNIX timestamp specified in milliseconds. yii\redis\ConnectionInterface
pfadd() Adds the specified elements to the specified HyperLogLog.. yii\redis\ConnectionInterface
pfcount() Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).. yii\redis\ConnectionInterface
pfmerge() Merge N different HyperLogLogs into a single one.. yii\redis\ConnectionInterface
ping() Ping the server. yii\redis\ConnectionInterface
psetex() Set the value and expiration in milliseconds of a key. yii\redis\ConnectionInterface
psubscribe() Listen for messages published to channels matching the given patterns. yii\redis\ConnectionInterface
pttl() Get the time to live for a key in milliseconds. yii\redis\ConnectionInterface
publish() Post a message to a channel. yii\redis\ConnectionInterface
pubsub() Inspect the state of the Pub/Sub subsystem. yii\redis\ConnectionInterface
punsubscribe() Stop listening for messages posted to channels matching the given patterns. yii\redis\ConnectionInterface
quit() Close the connection. yii\redis\ConnectionInterface
randomkey() Return a random key from the keyspace. yii\redis\ConnectionInterface
readonly() Enables read queries for a connection to a cluster slave node. yii\redis\ConnectionInterface
readwrite() Disables read queries for a connection to a cluster slave node. yii\redis\ConnectionInterface
rename() Rename a key. yii\redis\ConnectionInterface
renamenx() Rename a key, only if the new key does not exist. yii\redis\ConnectionInterface
restore() Create a key using the provided serialized value, previously obtained using DUMP.. yii\redis\ConnectionInterface
role() Return the role of the instance in the context of replication. yii\redis\ConnectionInterface
rpop() Remove and get the last element in a list. yii\redis\ConnectionInterface
rpoplpush() Remove the last element in a list, prepend it to another list and return it. yii\redis\ConnectionInterface
rpush() Append one or multiple values to a list. yii\redis\ConnectionInterface
rpushx() Append a value to a list, only if the list exists. yii\redis\ConnectionInterface
sadd() Add one or more members to a set. yii\redis\ConnectionInterface
save() Synchronously save the dataset to disk. yii\redis\ConnectionInterface
scan() Incrementally iterate the keys space. yii\redis\ConnectionInterface
scard() Get the number of members in a set. yii\redis\ConnectionInterface
scriptDebug() Set the debug mode for executed scripts.. yii\redis\ConnectionInterface
scriptExists() Check existence of scripts in the script cache.. yii\redis\ConnectionInterface
scriptFlush() Remove all the scripts from the script cache.. yii\redis\ConnectionInterface
scriptKill() Kill the script currently in execution.. yii\redis\ConnectionInterface
scriptLoad() Load the specified Lua script into the script cache.. yii\redis\ConnectionInterface
sdiff() Subtract multiple sets. yii\redis\ConnectionInterface
sdiffstore() Subtract multiple sets and store the resulting set in a key. yii\redis\ConnectionInterface
select() Change the selected database for the current connection. yii\redis\ConnectionInterface
set() Set the string value of a key. yii\redis\ConnectionInterface
setbit() Sets or clears the bit at offset in the string value stored at key. yii\redis\ConnectionInterface
setex() Set the value and expiration of a key. yii\redis\ConnectionInterface
setnx() Set the value of a key, only if the key does not exist. yii\redis\ConnectionInterface
setrange() Overwrite part of a string at key starting at the specified offset. yii\redis\ConnectionInterface
shutdown() Synchronously save the dataset to disk and then shut down the server. yii\redis\ConnectionInterface
sinter() Intersect multiple sets. yii\redis\ConnectionInterface
sinterstore() Intersect multiple sets and store the resulting set in a key. yii\redis\ConnectionInterface
sismember() Determine if a given value is a member of a set. yii\redis\ConnectionInterface
slaveof() Make the server a slave of another instance, or promote it as master. yii\redis\ConnectionInterface
slowlog() Manages the Redis slow queries log. yii\redis\ConnectionInterface
smembers() Get all the members in a set. yii\redis\ConnectionInterface
smove() Move a member from one set to another. yii\redis\ConnectionInterface
sort() Sort the elements in a list, set or sorted set. yii\redis\ConnectionInterface
spop() Remove and return one or multiple random members from a set. yii\redis\ConnectionInterface
srandmember() Get one or multiple random members from a set. yii\redis\ConnectionInterface
srem() Remove one or more members from a set. yii\redis\ConnectionInterface
sscan() Incrementally iterate Set elements. yii\redis\ConnectionInterface
strlen() Get the length of the value stored in a key. yii\redis\ConnectionInterface
subscribe() Listen for messages published to the given channels. yii\redis\ConnectionInterface
sunion() Add multiple sets. yii\redis\ConnectionInterface
sunionstore() Add multiple sets and store the resulting set in a key. yii\redis\ConnectionInterface
swapdb() Swaps two Redis databases. yii\redis\ConnectionInterface
sync() Internal command used for replication. yii\redis\ConnectionInterface
time() Return the current server time. yii\redis\ConnectionInterface
touch() Alters the last access time of a key(s). yii\redis\ConnectionInterface
ttl() Get the time to live for a key. yii\redis\ConnectionInterface
type() Determine the type stored at key. yii\redis\ConnectionInterface
unlink() Delete a key asynchronously in another thread. yii\redis\ConnectionInterface
unsubscribe() Stop listening for messages posted to the given channels. yii\redis\ConnectionInterface
unwatch() Forget about all watched keys. yii\redis\ConnectionInterface
wait() Wait for the synchronous replication of all the write commands sent in the context of the current connection. yii\redis\ConnectionInterface
watch() Watch the given keys to determine execution of the MULTI/EXEC block. yii\redis\ConnectionInterface
xack() Removes one or multiple messages from the pending entries list (PEL) of a stream consumer group https://redis.io/commands/xack yii\redis\ConnectionInterface
xadd() Appends the specified stream entry to the stream at the specified key https://redis.io/commands/xadd yii\redis\ConnectionInterface
xclaim() Changes the ownership of a pending message, so that the new owner is the consumer specified as the command argument https://redis.io/commands/xclaim yii\redis\ConnectionInterface
xdel() Removes the specified entries from a stream, and returns the number of entries deleted https://redis.io/commands/xdel yii\redis\ConnectionInterface
xgroup() Manages the consumer groups associated with a stream data structure https://redis.io/commands/xgroup yii\redis\ConnectionInterface
xinfo() Retrieves different information about the streams and associated consumer groups https://redis.io/commands/xinfo yii\redis\ConnectionInterface
xlen() Returns the number of entries inside a stream https://redis.io/commands/xlen yii\redis\ConnectionInterface
xpending() Fetching data from a stream via a consumer group, and not acknowledging such data, has the effect of creating pending entries https://redis.io/commands/xpending yii\redis\ConnectionInterface
xrange() Returns the stream entries matching a given range of IDs https://redis.io/commands/xrange yii\redis\ConnectionInterface
xread() Read data from one or multiple streams, only returning entries with an ID greater than the last received ID reported by the caller https://redis.io/commands/xread yii\redis\ConnectionInterface
xreadgroup() Special version of the XREAD command with support for consumer groups https://redis.io/commands/xreadgroup yii\redis\ConnectionInterface
xrevrange() Exactly like XRANGE, but with the notable difference of returning the entries in reverse order, and also taking the start-end range in reverse order https://redis.io/commands/xrevrange yii\redis\ConnectionInterface
xtrim() Trims the stream to a given number of items, evicting older items (items with lower IDs) if needed https://redis.io/commands/xtrim yii\redis\ConnectionInterface
zadd() Add one or more members to a sorted set, or update its score if it already exists. yii\redis\ConnectionInterface
zcard() Get the number of members in a sorted set. yii\redis\ConnectionInterface
zcount() Count the members in a sorted set with scores within the given values. yii\redis\ConnectionInterface
zincrby() Increment the score of a member in a sorted set. yii\redis\ConnectionInterface
zinterstore() Intersect multiple sorted sets and store the resulting sorted set in a new key. yii\redis\ConnectionInterface
zlexcount() Count the number of members in a sorted set between a given lexicographical range. yii\redis\ConnectionInterface
zrange() Return a range of members in a sorted set, by index. yii\redis\ConnectionInterface
zrangebylex() Return a range of members in a sorted set, by lexicographical range. yii\redis\ConnectionInterface
zrangebyscore() Return a range of members in a sorted set, by score. yii\redis\ConnectionInterface
zrank() Determine the index of a member in a sorted set. yii\redis\ConnectionInterface
zrem() Remove one or more members from a sorted set. yii\redis\ConnectionInterface
zremrangebylex() Remove all members in a sorted set between the given lexicographical range. yii\redis\ConnectionInterface
zremrangebyrank() Remove all members in a sorted set within the given indexes. yii\redis\ConnectionInterface
zremrangebyscore() Remove all members in a sorted set within the given scores. yii\redis\ConnectionInterface
zrevrange() Return a range of members in a sorted set, by index, with scores ordered from high to low. yii\redis\ConnectionInterface
zrevrangebylex() Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings.. yii\redis\ConnectionInterface
zrevrangebyscore() Return a range of members in a sorted set, by score, with scores ordered from high to low. yii\redis\ConnectionInterface
zrevrank() Determine the index of a member in a sorted set, with scores ordered from high to low. yii\redis\ConnectionInterface
zscan() Incrementally iterate sorted sets elements and associated scores. yii\redis\ConnectionInterface
zscore() Get the score associated with the given member in a sorted set. yii\redis\ConnectionInterface
zunionstore() Add multiple sorted sets and store the resulting sorted set in a new key. yii\redis\ConnectionInterface

Method Details

Hide inherited methods

append() public abstract method

Append a value to a key.

https://redis.io/commands/append

public abstract mixed append ( mixed $key, mixed $value )
$key mixed
$value mixed
return mixed
auth() public abstract method

Authenticate to the server.

https://redis.io/commands/auth

public abstract mixed auth ( mixed $password )
$password mixed
return mixed
bgrewriteaof() public abstract method

Asynchronously rewrite the append-only file.

https://redis.io/commands/bgrewriteaof

public abstract mixed bgrewriteaof ( )
return mixed
bgsave() public abstract method

Asynchronously save the dataset to disk.

https://redis.io/commands/bgsave

public abstract mixed bgsave ( )
return mixed
bitcount() public abstract method

Count set bits in a string.

https://redis.io/commands/bitcount

public abstract mixed bitcount ( mixed $key, mixed $start, mixed $end )
$key mixed
$start mixed
$end mixed
return mixed
bitfield() public abstract method

Perform arbitrary bitfield integer operations on strings.

https://redis.io/commands/bitfield

public abstract mixed bitfield ( mixed $key, mixed $operations )
$key mixed
$operations mixed
return mixed
bitop() public abstract method

Perform bitwise operations between strings.

https://redis.io/commands/bitop

public abstract mixed bitop ( mixed $operation, mixed $destkey, mixed $keys )
$operation mixed
$destkey mixed
$keys mixed
return mixed
bitpos() public abstract method

Find first bit set or clear in a string.

https://redis.io/commands/bitpos

public abstract mixed bitpos ( mixed $key, mixed $bit, mixed $start, mixed $end )
$key mixed
$bit mixed
$start mixed
$end mixed
return mixed
blpop() public abstract method

Remove and get the first element in a list, or block until one is available.

https://redis.io/commands/blpop

public abstract mixed blpop ( mixed $keys, mixed $timeout )
$keys mixed
$timeout mixed
return mixed
brpop() public abstract method

Remove and get the last element in a list, or block until one is available.

https://redis.io/commands/brpop

public abstract mixed brpop ( mixed $keys, mixed $timeout )
$keys mixed
$timeout mixed
return mixed
brpoplpush() public abstract method

Pop a value from a list, push it to another list and return it; or block until one is available.

https://redis.io/commands/brpoplpush

public abstract mixed brpoplpush ( mixed $source, mixed $destination, mixed $timeout )
$source mixed
$destination mixed
$timeout mixed
return mixed
clientGetname() public abstract method

Get the current connection name.

https://redis.io/commands/client-getname

public abstract mixed clientGetname ( )
return mixed
clientKill() public abstract method

Kill the connection of a client.

https://redis.io/commands/client-kill

public abstract mixed clientKill ( mixed $filters )
$filters mixed
return mixed
clientList() public abstract method

Get the list of client connections.

https://redis.io/commands/client-list

public abstract mixed clientList ( )
return mixed
clientPause() public abstract method

Stop processing commands from clients for some time.

https://redis.io/commands/client-pause

public abstract mixed clientPause ( mixed $timeout )
$timeout mixed
return mixed
clientReply() public abstract method

Instruct the server whether to reply to commands.

https://redis.io/commands/client-reply

public abstract mixed clientReply ( mixed $option )
$option mixed
return mixed
clientSetname() public abstract method

Set the current connection name.

https://redis.io/commands/client-setname

public abstract mixed clientSetname ( mixed $connectionName )
$connectionName mixed
return mixed
close() public abstract method

public abstract void close ( )

                public function close(): void;

            
clusterAddslots() public abstract method

Assign new hash slots to receiving node.

https://redis.io/commands/cluster-addslots

public abstract mixed clusterAddslots ( mixed $slots )
$slots mixed
return mixed
clusterCountkeysinslot() public abstract method

Return the number of local keys in the specified hash slot.

https://redis.io/commands/cluster-countkeysinslot

public abstract mixed clusterCountkeysinslot ( mixed $slot )
$slot mixed
return mixed
clusterDelslots() public abstract method

Set hash slots as unbound in receiving node.

https://redis.io/commands/cluster-delslots

public abstract mixed clusterDelslots ( mixed $slots )
$slots mixed
return mixed
clusterFailover() public abstract method

Forces a slave to perform a manual failover of its master..

https://redis.io/commands/cluster-failover

public abstract mixed clusterFailover ( mixed $option )
$option mixed
return mixed
clusterForget() public abstract method

Remove a node from the nodes table.

https://redis.io/commands/cluster-forget

public abstract mixed clusterForget ( mixed $nodeId )
$nodeId mixed
return mixed
clusterGetkeysinslot() public abstract method

Return local key names in the specified hash slot.

https://redis.io/commands/cluster-getkeysinslot

public abstract mixed clusterGetkeysinslot ( mixed $slot, mixed $count )
$slot mixed
$count mixed
return mixed
clusterInfo() public abstract method

Provides info about Redis Cluster node state.

https://redis.io/commands/cluster-info

public abstract mixed clusterInfo ( )
return mixed
clusterKeyslot() public abstract method

Returns the hash slot of the specified key.

https://redis.io/commands/cluster-keyslot

public abstract mixed clusterKeyslot ( mixed $key )
$key mixed
return mixed
clusterMeet() public abstract method

Force a node cluster to handshake with another node.

https://redis.io/commands/cluster-meet

public abstract mixed clusterMeet ( mixed $ip, mixed $port )
$ip mixed
$port mixed
return mixed
clusterNodes() public abstract method

Get Cluster config for the node.

https://redis.io/commands/cluster-nodes

public abstract mixed clusterNodes ( )
return mixed
clusterReplicate() public abstract method

Reconfigure a node as a slave of the specified master node.

https://redis.io/commands/cluster-replicate

public abstract mixed clusterReplicate ( mixed $nodeId )
$nodeId mixed
return mixed
clusterReset() public abstract method

Reset a Redis Cluster node.

https://redis.io/commands/cluster-reset

public abstract mixed clusterReset ( mixed $resetType )
$resetType mixed
return mixed
clusterSaveconfig() public abstract method

Forces the node to save cluster state on disk.

https://redis.io/commands/cluster-saveconfig

public abstract mixed clusterSaveconfig ( )
return mixed
clusterSetslot() public abstract method

Bind a hash slot to a specific node.

https://redis.io/commands/cluster-setslot

public abstract mixed clusterSetslot ( mixed $slot, mixed $type, mixed $nodeid )
$slot mixed
$type mixed
$nodeid mixed
return mixed
clusterSlaves() public abstract method

List slave nodes of the specified master node.

https://redis.io/commands/cluster-slaves

public abstract mixed clusterSlaves ( mixed $nodeId )
$nodeId mixed
return mixed
clusterSlots() public abstract method

Get array of Cluster slot to node mappings.

https://redis.io/commands/cluster-slots

public abstract mixed clusterSlots ( )
return mixed
command() public abstract method

Get array of Redis command details.

https://redis.io/commands/command

public abstract mixed command ( )
return mixed
commandCount() public abstract method

Get total number of Redis commands.

https://redis.io/commands/command-count

public abstract mixed commandCount ( )
return mixed
commandGetkeys() public abstract method

Extract keys given a full Redis command.

https://redis.io/commands/command-getkeys

public abstract mixed commandGetkeys ( )
return mixed
commandInfo() public abstract method

Get array of specific Redis command details.

https://redis.io/commands/command-info

public abstract mixed commandInfo ( mixed $commandNames )
$commandNames mixed
return mixed
configGet() public abstract method

Get the value of a configuration parameter.

https://redis.io/commands/config-get

public abstract mixed configGet ( mixed $parameter )
$parameter mixed
return mixed
configResetstat() public abstract method

Reset the stats returned by INFO.

https://redis.io/commands/config-resetstat

public abstract mixed configResetstat ( )
return mixed
configRewrite() public abstract method

Rewrite the configuration file with the in memory configuration.

https://redis.io/commands/config-rewrite

public abstract mixed configRewrite ( )
return mixed
configSet() public abstract method

Set a configuration parameter to the given value.

https://redis.io/commands/config-set

public abstract mixed configSet ( mixed $parameter, mixed $value )
$parameter mixed
$value mixed
return mixed
dbsize() public abstract method

Return the number of keys in the selected database.

https://redis.io/commands/dbsize

public abstract mixed dbsize ( )
return mixed
debugObject() public abstract method

Get debugging information about a key.

https://redis.io/commands/debug-object

public abstract mixed debugObject ( mixed $key )
$key mixed
return mixed
debugSegfault() public abstract method
public abstract mixed debugSegfault ( )
return mixed
decr() public abstract method

Decrement the integer value of a key by one.

https://redis.io/commands/decr

public abstract mixed decr ( mixed $key )
$key mixed
return mixed
decrby() public abstract method

Decrement the integer value of a key by the given number.

https://redis.io/commands/decrby

public abstract mixed decrby ( mixed $key, mixed $decrement )
$key mixed
$decrement mixed
return mixed
del() public abstract method
public abstract mixed del ( mixed $keys )
$keys mixed
return mixed
discard() public abstract method

Discard all commands issued after MULTI.

https://redis.io/commands/discard

public abstract mixed discard ( )
return mixed
dump() public abstract method

Return a serialized version of the value stored at the specified key..

https://redis.io/commands/dump

public abstract mixed dump ( mixed $key )
$key mixed
return mixed
echo() public abstract method

Echo the given string.

https://redis.io/commands/echo

public abstract mixed echo ( mixed $message )
$message mixed
return mixed
eval() public abstract method

Execute a Lua script server side.

https://redis.io/commands/eval

public abstract mixed eval ( mixed $script, mixed $numkeys, mixed $keys, mixed $args )
$script mixed
$numkeys mixed
$keys mixed
$args mixed
return mixed
evalsha() public abstract method

Execute a Lua script server side.

https://redis.io/commands/evalsha

public abstract mixed evalsha ( mixed $sha1, mixed $numkeys, mixed $keys, mixed $args )
$sha1 mixed
$numkeys mixed
$keys mixed
$args mixed
return mixed
exec() public abstract method

Execute all commands issued after MULTI.

https://redis.io/commands/exec

public abstract mixed exec ( )
return mixed
executeCommand() public abstract method

public abstract mixed executeCommand ( mixed $name, mixed $params = [] )
$name mixed
$params mixed

                public function executeCommand($name, $params = []);

            
exists() public abstract method

Determine if a key exists.

https://redis.io/commands/exists

public abstract mixed exists ( mixed $keys )
$keys mixed
return mixed
expire() public abstract method

Set a key's time to live in seconds.

https://redis.io/commands/expire

public abstract mixed expire ( mixed $key, mixed $seconds )
$key mixed
$seconds mixed
return mixed
expireat() public abstract method

Set the expiration for a key as a UNIX timestamp.

https://redis.io/commands/expireat

public abstract mixed expireat ( mixed $key, mixed $timestamp )
$key mixed
$timestamp mixed
return mixed
flushall() public abstract method

Remove all keys from all databases.

https://redis.io/commands/flushall

public abstract mixed flushall ( mixed $ASYNC )
$ASYNC mixed
return mixed
flushdb() public abstract method

Remove all keys from the current database.

https://redis.io/commands/flushdb

public abstract mixed flushdb ( mixed $ASYNC )
$ASYNC mixed
return mixed
geoadd() public abstract method

Add one or more geospatial items in the geospatial index represented using a sorted set.

https://redis.io/commands/geoadd

public abstract mixed geoadd ( mixed $key, mixed $longitude, mixed $latitude, mixed $member, mixed $more )
$key mixed
$longitude mixed
$latitude mixed
$member mixed
$more mixed
return mixed
geodist() public abstract method

Returns the distance between two members of a geospatial index.

https://redis.io/commands/geodist

public abstract mixed geodist ( mixed $key, mixed $member1, mixed $member2, mixed $unit )
$key mixed
$member1 mixed
$member2 mixed
$unit mixed
return mixed
geohash() public abstract method

Returns members of a geospatial index as standard geohash strings.

https://redis.io/commands/geohash

public abstract mixed geohash ( mixed $key, mixed $members )
$key mixed
$members mixed
return mixed
geopos() public abstract method

Returns longitude and latitude of members of a geospatial index.

https://redis.io/commands/geopos

public abstract mixed geopos ( mixed $key, mixed $members )
$key mixed
$members mixed
return mixed
georadius() public abstract method

Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point.

https://redis.io/commands/georadius

public abstract mixed georadius ( mixed $key, mixed $longitude, mixed $latitude, mixed $radius, mixed $metric, mixed $options )
$key mixed
$longitude mixed
$latitude mixed
$radius mixed
$metric mixed
$options mixed
return mixed
georadiusbymember() public abstract method

Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member.

https://redis.io/commands/georadiusbymember

public abstract mixed georadiusbymember ( mixed $key, mixed $member, mixed $radius, mixed $metric, mixed $options )
$key mixed
$member mixed
$radius mixed
$metric mixed
$options mixed
return mixed
get() public abstract method

Get the value of a key.

https://redis.io/commands/get

public abstract mixed get ( mixed $key )
$key mixed
return mixed
getIsActive() public abstract method

public abstract boolean getIsActive ( )

                public function getIsActive(): bool;

            
getbit() public abstract method

Returns the bit value at offset in the string value stored at key.

https://redis.io/commands/getbit

public abstract mixed getbit ( mixed $key, mixed $offset )
$key mixed
$offset mixed
return mixed
getrange() public abstract method

Get a substring of the string stored at a key.

https://redis.io/commands/getrange

public abstract mixed getrange ( mixed $key, mixed $start, mixed $end )
$key mixed
$start mixed
$end mixed
return mixed
getset() public abstract method

Set the string value of a key and return its old value.

https://redis.io/commands/getset

public abstract mixed getset ( mixed $key, mixed $value )
$key mixed
$value mixed
return mixed
hdel() public abstract method

Delete one or more hash fields.

https://redis.io/commands/hdel

public abstract mixed hdel ( mixed $key, mixed $fields )
$key mixed
$fields mixed
return mixed
hexists() public abstract method

Determine if a hash field exists.

https://redis.io/commands/hexists

public abstract mixed hexists ( mixed $key, mixed $field )
$key mixed
$field mixed
return mixed
hget() public abstract method

Get the value of a hash field.

https://redis.io/commands/hget

public abstract mixed hget ( mixed $key, mixed $field )
$key mixed
$field mixed
return mixed
hgetall() public abstract method

Get all the fields and values in a hash.

https://redis.io/commands/hgetall

public abstract mixed hgetall ( mixed $key )
$key mixed
return mixed
hincrby() public abstract method

Increment the integer value of a hash field by the given number.

https://redis.io/commands/hincrby

public abstract mixed hincrby ( mixed $key, mixed $field, mixed $increment )
$key mixed
$field mixed
$increment mixed
return mixed
hincrbyfloat() public abstract method

Increment the float value of a hash field by the given amount.

https://redis.io/commands/hincrbyfloat

public abstract mixed hincrbyfloat ( mixed $key, mixed $field, mixed $increment )
$key mixed
$field mixed
$increment mixed
return mixed
hkeys() public abstract method

Get all the fields in a hash.

https://redis.io/commands/hkeys

public abstract mixed hkeys ( mixed $key )
$key mixed
return mixed
hlen() public abstract method

Get the number of fields in a hash.

https://redis.io/commands/hlen

public abstract mixed hlen ( mixed $key )
$key mixed
return mixed
hmget() public abstract method

Get the values of all the given hash fields.

https://redis.io/commands/hmget

public abstract mixed hmget ( mixed $key, mixed $fields )
$key mixed
$fields mixed
return mixed
hmset() public abstract method

Set multiple hash fields to multiple values.

https://redis.io/commands/hmset

public abstract mixed hmset ( mixed $key, mixed $field, mixed $value, mixed $more )
$key mixed
$field mixed
$value mixed
$more mixed
return mixed
hscan() public abstract method

Incrementally iterate hash fields and associated values.

https://redis.io/commands/hscan

public abstract mixed hscan ( mixed $key, mixed $cursor, mixed $MATCH, mixed $pattern, mixed $COUNT, mixed $count )
$key mixed
$cursor mixed
$MATCH mixed
$pattern mixed
$COUNT mixed
$count mixed
return mixed
hset() public abstract method

Set the string value of a hash field.

https://redis.io/commands/hset

public abstract mixed hset ( mixed $key, mixed $field, mixed $value )
$key mixed
$field mixed
$value mixed
return mixed
hsetnx() public abstract method

Set the value of a hash field, only if the field does not exist.

https://redis.io/commands/hsetnx

public abstract mixed hsetnx ( mixed $key, mixed $field, mixed $value )
$key mixed
$field mixed
$value mixed
return mixed
hstrlen() public abstract method

Get the length of the value of a hash field.

https://redis.io/commands/hstrlen

public abstract mixed hstrlen ( mixed $key, mixed $field )
$key mixed
$field mixed
return mixed
hvals() public abstract method

Get all the values in a hash.

https://redis.io/commands/hvals

public abstract mixed hvals ( mixed $key )
$key mixed
return mixed
incr() public abstract method

Increment the integer value of a key by one.

https://redis.io/commands/incr

public abstract mixed incr ( mixed $key )
$key mixed
return mixed
incrby() public abstract method

Increment the integer value of a key by the given amount.

https://redis.io/commands/incrby

public abstract mixed incrby ( mixed $key, mixed $increment )
$key mixed
$increment mixed
return mixed
incrbyfloat() public abstract method

Increment the float value of a key by the given amount.

https://redis.io/commands/incrbyfloat

public abstract mixed incrbyfloat ( mixed $key, mixed $increment )
$key mixed
$increment mixed
return mixed
info() public abstract method

Get information and statistics about the server.

https://redis.io/commands/info

public abstract mixed info ( mixed $section )
$section mixed
return mixed
keys() public abstract method

Find all keys matching the given pattern.

https://redis.io/commands/keys

public abstract mixed keys ( mixed $pattern )
$pattern mixed
return mixed
lastsave() public abstract method

Get the UNIX time stamp of the last successful save to disk.

https://redis.io/commands/lastsave

public abstract mixed lastsave ( )
return mixed
lindex() public abstract method

Get an element from a list by its index.

https://redis.io/commands/lindex

public abstract mixed lindex ( mixed $key, mixed $index )
$key mixed
$index mixed
return mixed
linsert() public abstract method

Insert an element before or after another element in a list.

https://redis.io/commands/linsert

public abstract mixed linsert ( mixed $key, mixed $where, mixed $pivot, mixed $value )
$key mixed
$where mixed
$pivot mixed
$value mixed
return mixed
llen() public abstract method

Get the length of a list.

https://redis.io/commands/llen

public abstract mixed llen ( mixed $key )
$key mixed
return mixed
lpop() public abstract method

Remove and get the first element in a list.

https://redis.io/commands/lpop

public abstract mixed lpop ( mixed $key )
$key mixed
return mixed
lpush() public abstract method

Prepend one or multiple values to a list.

https://redis.io/commands/lpush

public abstract mixed lpush ( mixed $key, mixed $values )
$key mixed
$values mixed
return mixed
lpushx() public abstract method

Prepend a value to a list, only if the list exists.

https://redis.io/commands/lpushx

public abstract mixed lpushx ( mixed $key, mixed $value )
$key mixed
$value mixed
return mixed
lrange() public abstract method

Get a range of elements from a list.

https://redis.io/commands/lrange

public abstract mixed lrange ( mixed $key, mixed $start, mixed $stop )
$key mixed
$start mixed
$stop mixed
return mixed
lrem() public abstract method

Remove elements from a list.

https://redis.io/commands/lrem

public abstract mixed lrem ( mixed $key, mixed $count, mixed $value )
$key mixed
$count mixed
$value mixed
return mixed
lset() public abstract method

Set the value of an element in a list by its index.

https://redis.io/commands/lset

public abstract mixed lset ( mixed $key, mixed $index, mixed $value )
$key mixed
$index mixed
$value mixed
return mixed
ltrim() public abstract method

Trim a list to the specified range.

https://redis.io/commands/ltrim

public abstract mixed ltrim ( mixed $key, mixed $start, mixed $stop )
$key mixed
$start mixed
$stop mixed
return mixed
mget() public abstract method

Get the values of all the given keys.

https://redis.io/commands/mget

public abstract mixed mget ( mixed $keys )
$keys mixed
return mixed
migrate() public abstract method

Atomically transfer a key from a Redis instance to another one..

https://redis.io/commands/migrate

public abstract mixed migrate ( mixed $host, mixed $port, mixed $key, mixed $destinationDb, mixed $timeout, mixed $options )
$host mixed
$port mixed
$key mixed
$destinationDb mixed
$timeout mixed
$options mixed
return mixed
monitor() public abstract method

Listen for all requests received by the server in real time.

https://redis.io/commands/monitor

public abstract mixed monitor ( )
return mixed
move() public abstract method

Move a key to another database.

https://redis.io/commands/move

public abstract mixed move ( mixed $key, mixed $db )
$key mixed
$db mixed
return mixed
mset() public abstract method

Set multiple keys to multiple values.

https://redis.io/commands/mset

public abstract mixed mset ( mixed $keyValuePairs )
$keyValuePairs mixed
return mixed
msetnx() public abstract method

Set multiple keys to multiple values, only if none of the keys exist.

https://redis.io/commands/msetnx

public abstract mixed msetnx ( mixed $keyValuePairs )
$keyValuePairs mixed
return mixed
multi() public abstract method

Mark the start of a transaction block.

https://redis.io/commands/multi

public abstract mixed multi ( )
return mixed
object() public abstract method

Inspect the internals of Redis objects.

https://redis.io/commands/object

public abstract mixed object ( mixed $subcommand, mixed $argumentss )
$subcommand mixed
$argumentss mixed
return mixed
open() public abstract method

public abstract void open ( )

                public function open(): void;

            
persist() public abstract method

Remove the expiration from a key.

https://redis.io/commands/persist

public abstract mixed persist ( mixed $key )
$key mixed
return mixed
pexpire() public abstract method

Set a key's time to live in milliseconds.

https://redis.io/commands/pexpire

public abstract mixed pexpire ( mixed $key, mixed $milliseconds )
$key mixed
$milliseconds mixed
return mixed
pexpireat() public abstract method

Set the expiration for a key as a UNIX timestamp specified in milliseconds.

https://redis.io/commands/pexpireat

public abstract mixed pexpireat ( mixed $key, mixed $millisecondsTimestamp )
$key mixed
$millisecondsTimestamp mixed
return mixed
pfadd() public abstract method

Adds the specified elements to the specified HyperLogLog..

https://redis.io/commands/pfadd

public abstract mixed pfadd ( mixed $key, mixed $elements )
$key mixed
$elements mixed
return mixed
pfcount() public abstract method

Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s)..

https://redis.io/commands/pfcount

public abstract mixed pfcount ( mixed $keys )
$keys mixed
return mixed
pfmerge() public abstract method

Merge N different HyperLogLogs into a single one..

https://redis.io/commands/pfmerge

public abstract mixed pfmerge ( mixed $destkey, mixed $sourcekeys )
$destkey mixed
$sourcekeys mixed
return mixed
ping() public abstract method
public abstract mixed ping ( mixed $message )
$message mixed
return mixed
psetex() public abstract method

Set the value and expiration in milliseconds of a key.

https://redis.io/commands/psetex

public abstract mixed psetex ( mixed $key, mixed $milliseconds, mixed $value )
$key mixed
$milliseconds mixed
$value mixed
return mixed
psubscribe() public abstract method

Listen for messages published to channels matching the given patterns.

https://redis.io/commands/psubscribe

public abstract mixed psubscribe ( mixed $patterns )
$patterns mixed
return mixed
pttl() public abstract method

Get the time to live for a key in milliseconds.

https://redis.io/commands/pttl

public abstract mixed pttl ( mixed $key )
$key mixed
return mixed
publish() public abstract method

Post a message to a channel.

https://redis.io/commands/publish

public abstract mixed publish ( mixed $channel, mixed $message )
$channel mixed
$message mixed
return mixed
pubsub() public abstract method

Inspect the state of the Pub/Sub subsystem.

https://redis.io/commands/pubsub

public abstract mixed pubsub ( mixed $subcommand, mixed $arguments )
$subcommand mixed
$arguments mixed
return mixed
punsubscribe() public abstract method

Stop listening for messages posted to channels matching the given patterns.

https://redis.io/commands/punsubscribe

public abstract mixed punsubscribe ( mixed $patterns )
$patterns mixed
return mixed
quit() public abstract method

Close the connection.

https://redis.io/commands/quit

public abstract mixed quit ( )
return mixed
randomkey() public abstract method

Return a random key from the keyspace.

https://redis.io/commands/randomkey

public abstract mixed randomkey ( )
return mixed
readonly() public abstract method

Enables read queries for a connection to a cluster slave node.

https://redis.io/commands/readonly

public abstract mixed readonly ( )
return mixed
readwrite() public abstract method

Disables read queries for a connection to a cluster slave node.

https://redis.io/commands/readwrite

public abstract mixed readwrite ( )
return mixed
rename() public abstract method
public abstract mixed rename ( mixed $key, mixed $newkey )
$key mixed
$newkey mixed
return mixed
renamenx() public abstract method

Rename a key, only if the new key does not exist.

https://redis.io/commands/renamenx

public abstract mixed renamenx ( mixed $key, mixed $newkey )
$key mixed
$newkey mixed
return mixed
restore() public abstract method

Create a key using the provided serialized value, previously obtained using DUMP..

https://redis.io/commands/restore

public abstract mixed restore ( mixed $key, mixed $ttl, mixed $serializedValue, mixed $REPLACE )
$key mixed
$ttl mixed
$serializedValue mixed
$REPLACE mixed
return mixed
role() public abstract method

Return the role of the instance in the context of replication.

https://redis.io/commands/role

public abstract mixed role ( )
return mixed
rpop() public abstract method

Remove and get the last element in a list.

https://redis.io/commands/rpop

public abstract mixed rpop ( mixed $key )
$key mixed
return mixed
rpoplpush() public abstract method

Remove the last element in a list, prepend it to another list and return it.

https://redis.io/commands/rpoplpush

public abstract mixed rpoplpush ( mixed $source, mixed $destination )
$source mixed
$destination mixed
return mixed
rpush() public abstract method

Append one or multiple values to a list.

https://redis.io/commands/rpush

public abstract mixed rpush ( mixed $key, mixed $values )
$key mixed
$values mixed
return mixed
rpushx() public abstract method

Append a value to a list, only if the list exists.

https://redis.io/commands/rpushx

public abstract mixed rpushx ( mixed $key, mixed $value )
$key mixed
$value mixed
return mixed
sadd() public abstract method

Add one or more members to a set.

https://redis.io/commands/sadd

public abstract mixed sadd ( mixed $key, mixed $members )
$key mixed
$members mixed
return mixed
save() public abstract method

Synchronously save the dataset to disk.

https://redis.io/commands/save

public abstract mixed save ( )
return mixed
scan() public abstract method

Incrementally iterate the keys space.

https://redis.io/commands/scan

public abstract mixed scan ( mixed $cursor, mixed $MATCH, mixed $pattern, mixed $COUNT, mixed $count )
$cursor mixed
$MATCH mixed
$pattern mixed
$COUNT mixed
$count mixed
return mixed
scard() public abstract method

Get the number of members in a set.

https://redis.io/commands/scard

public abstract mixed scard ( mixed $key )
$key mixed
return mixed
scriptDebug() public abstract method

Set the debug mode for executed scripts..

https://redis.io/commands/script-debug

public abstract mixed scriptDebug ( mixed $option )
$option mixed
return mixed
scriptExists() public abstract method

Check existence of scripts in the script cache..

https://redis.io/commands/script-exists

public abstract mixed scriptExists ( mixed $sha1s )
$sha1s mixed
return mixed
scriptFlush() public abstract method

Remove all the scripts from the script cache..

https://redis.io/commands/script-flush

public abstract mixed scriptFlush ( )
return mixed
scriptKill() public abstract method

Kill the script currently in execution..

https://redis.io/commands/script-kill

public abstract mixed scriptKill ( )
return mixed
scriptLoad() public abstract method

Load the specified Lua script into the script cache..

https://redis.io/commands/script-load

public abstract mixed scriptLoad ( mixed $script )
$script mixed
return mixed
sdiff() public abstract method

Subtract multiple sets.

https://redis.io/commands/sdiff

public abstract mixed sdiff ( mixed $keys )
$keys mixed
return mixed
sdiffstore() public abstract method

Subtract multiple sets and store the resulting set in a key.

https://redis.io/commands/sdiffstore

public abstract mixed sdiffstore ( mixed $destination, mixed $keys )
$destination mixed
$keys mixed
return mixed
select() public abstract method

Change the selected database for the current connection.

https://redis.io/commands/select

public abstract mixed select ( mixed $index )
$index mixed
return mixed
set() public abstract method

Set the string value of a key.

https://redis.io/commands/set

public abstract mixed set ( mixed $key, mixed $value, mixed $options )
$key mixed
$value mixed
$options mixed
return mixed
setbit() public abstract method

Sets or clears the bit at offset in the string value stored at key.

https://redis.io/commands/setbit

public abstract mixed setbit ( mixed $key, mixed $offset, mixed $value )
$key mixed
$offset mixed
$value mixed
return mixed
setex() public abstract method

Set the value and expiration of a key.

https://redis.io/commands/setex

public abstract mixed setex ( mixed $key, mixed $seconds, mixed $value )
$key mixed
$seconds mixed
$value mixed
return mixed
setnx() public abstract method

Set the value of a key, only if the key does not exist.

https://redis.io/commands/setnx

public abstract mixed setnx ( mixed $key, mixed $value )
$key mixed
$value mixed
return mixed
setrange() public abstract method

Overwrite part of a string at key starting at the specified offset.

https://redis.io/commands/setrange

public abstract mixed setrange ( mixed $key, mixed $offset, mixed $value )
$key mixed
$offset mixed
$value mixed
return mixed
shutdown() public abstract method

Synchronously save the dataset to disk and then shut down the server.

https://redis.io/commands/shutdown

public abstract mixed shutdown ( mixed $saveOption )
$saveOption mixed
return mixed
sinter() public abstract method

Intersect multiple sets.

https://redis.io/commands/sinter

public abstract mixed sinter ( mixed $keys )
$keys mixed
return mixed
sinterstore() public abstract method

Intersect multiple sets and store the resulting set in a key.

https://redis.io/commands/sinterstore

public abstract mixed sinterstore ( mixed $destination, mixed $keys )
$destination mixed
$keys mixed
return mixed
sismember() public abstract method

Determine if a given value is a member of a set.

https://redis.io/commands/sismember

public abstract mixed sismember ( mixed $key, mixed $member )
$key mixed
$member mixed
return mixed
slaveof() public abstract method

Make the server a slave of another instance, or promote it as master.

https://redis.io/commands/slaveof

public abstract mixed slaveof ( mixed $host, mixed $port )
$host mixed
$port mixed
return mixed
slowlog() public abstract method

Manages the Redis slow queries log.

https://redis.io/commands/slowlog

public abstract mixed slowlog ( mixed $subcommand, mixed $argument )
$subcommand mixed
$argument mixed
return mixed
smembers() public abstract method

Get all the members in a set.

https://redis.io/commands/smembers

public abstract mixed smembers ( mixed $key )
$key mixed
return mixed
smove() public abstract method

Move a member from one set to another.

https://redis.io/commands/smove

public abstract mixed smove ( mixed $source, mixed $destination, mixed $member )
$source mixed
$destination mixed
$member mixed
return mixed
sort() public abstract method

Sort the elements in a list, set or sorted set.

https://redis.io/commands/sort

public abstract mixed sort ( mixed $key, mixed $options )
$key mixed
$options mixed
return mixed
spop() public abstract method

Remove and return one or multiple random members from a set.

https://redis.io/commands/spop

public abstract mixed spop ( mixed $key, mixed $count )
$key mixed
$count mixed
return mixed
srandmember() public abstract method

Get one or multiple random members from a set.

https://redis.io/commands/srandmember

public abstract mixed srandmember ( mixed $key, mixed $count )
$key mixed
$count mixed
return mixed
srem() public abstract method

Remove one or more members from a set.

https://redis.io/commands/srem

public abstract mixed srem ( mixed $key, mixed $members )
$key mixed
$members mixed
return mixed
sscan() public abstract method

Incrementally iterate Set elements.

https://redis.io/commands/sscan

public abstract mixed sscan ( mixed $key, mixed $cursor, mixed $MATCH, mixed $pattern, mixed $COUNT, mixed $count )
$key mixed
$cursor mixed
$MATCH mixed
$pattern mixed
$COUNT mixed
$count mixed
return mixed
strlen() public abstract method

Get the length of the value stored in a key.

https://redis.io/commands/strlen

public abstract mixed strlen ( mixed $key )
$key mixed
return mixed
subscribe() public abstract method

Listen for messages published to the given channels.

https://redis.io/commands/subscribe

public abstract mixed subscribe ( mixed $channels )
$channels mixed
return mixed
sunion() public abstract method
public abstract mixed sunion ( mixed $keys )
$keys mixed
return mixed
sunionstore() public abstract method

Add multiple sets and store the resulting set in a key.

https://redis.io/commands/sunionstore

public abstract mixed sunionstore ( mixed $destination, mixed $keys )
$destination mixed
$keys mixed
return mixed
swapdb() public abstract method

Swaps two Redis databases.

https://redis.io/commands/swapdb

public abstract mixed swapdb ( mixed $index, mixed $index )
$index mixed
$index mixed
return mixed
sync() public abstract method

Internal command used for replication.

https://redis.io/commands/sync

public abstract mixed sync ( )
return mixed
time() public abstract method

Return the current server time.

https://redis.io/commands/time

public abstract mixed time ( )
return mixed
touch() public abstract method

Alters the last access time of a key(s).

Returns the number of existing keys specified.. https://redis.io/commands/touch

public abstract mixed touch ( mixed $keys )
$keys mixed
return mixed
ttl() public abstract method

Get the time to live for a key.

https://redis.io/commands/ttl

public abstract mixed ttl ( mixed $key )
$key mixed
return mixed
type() public abstract method

Determine the type stored at key.

https://redis.io/commands/type

public abstract mixed type ( mixed $key )
$key mixed
return mixed
unlink() public abstract method

Delete a key asynchronously in another thread.

Otherwise it is just as DEL, but non blocking.. https://redis.io/commands/unlink

public abstract mixed unlink ( mixed $keys )
$keys mixed
return mixed
unsubscribe() public abstract method

Stop listening for messages posted to the given channels.

https://redis.io/commands/unsubscribe

public abstract mixed unsubscribe ( mixed $channels )
$channels mixed
return mixed
unwatch() public abstract method

Forget about all watched keys.

https://redis.io/commands/unwatch

public abstract mixed unwatch ( )
return mixed
wait() public abstract method

Wait for the synchronous replication of all the write commands sent in the context of the current connection.

https://redis.io/commands/wait

public abstract mixed wait ( mixed $numslaves, mixed $timeout )
$numslaves mixed
$timeout mixed
return mixed
watch() public abstract method

Watch the given keys to determine execution of the MULTI/EXEC block.

https://redis.io/commands/watch

public abstract mixed watch ( mixed $keys )
$keys mixed
return mixed
xack() public abstract method

Removes one or multiple messages from the pending entries list (PEL) of a stream consumer group https://redis.io/commands/xack

public abstract mixed xack ( mixed $stream, mixed $group, mixed $ids )
$stream mixed
$group mixed
$ids mixed
return mixed
xadd() public abstract method

Appends the specified stream entry to the stream at the specified key https://redis.io/commands/xadd

public abstract mixed xadd ( mixed $stream, mixed $id, mixed $field, mixed $value, mixed $fieldsValues )
$stream mixed
$id mixed
$field mixed
$value mixed
$fieldsValues mixed
return mixed
xclaim() public abstract method

Changes the ownership of a pending message, so that the new owner is the consumer specified as the command argument https://redis.io/commands/xclaim

public abstract mixed xclaim ( mixed $stream, mixed $group, mixed $consumer, mixed $minIdleTimeMs, mixed $id, mixed $options )
$stream mixed
$group mixed
$consumer mixed
$minIdleTimeMs mixed
$id mixed
$options mixed
return mixed
xdel() public abstract method

Removes the specified entries from a stream, and returns the number of entries deleted https://redis.io/commands/xdel

public abstract mixed xdel ( mixed $stream, mixed $ids )
$stream mixed
$ids mixed
return mixed
xgroup() public abstract method

Manages the consumer groups associated with a stream data structure https://redis.io/commands/xgroup

public abstract mixed xgroup ( mixed $subCommand, mixed $stream, mixed $group, mixed $options )
$subCommand mixed
$stream mixed
$group mixed
$options mixed
return mixed
xinfo() public abstract method

Retrieves different information about the streams and associated consumer groups https://redis.io/commands/xinfo

public abstract mixed xinfo ( mixed $subCommand, mixed $stream, mixed $options )
$subCommand mixed
$stream mixed
$options mixed
return mixed
xlen() public abstract method

Returns the number of entries inside a stream https://redis.io/commands/xlen

public abstract mixed xlen ( mixed $stream )
$stream mixed
return mixed
xpending() public abstract method

Fetching data from a stream via a consumer group, and not acknowledging such data, has the effect of creating pending entries https://redis.io/commands/xpending

public abstract mixed xpending ( mixed $stream, mixed $group, mixed $options )
$stream mixed
$group mixed
$options mixed
return mixed
xrange() public abstract method

Returns the stream entries matching a given range of IDs https://redis.io/commands/xrange

public abstract mixed xrange ( mixed $stream, mixed $start, mixed $end, mixed $options )
$stream mixed
$start mixed
$end mixed
$options mixed
return mixed
xread() public abstract method

Read data from one or multiple streams, only returning entries with an ID greater than the last received ID reported by the caller https://redis.io/commands/xread

public abstract mixed xread ( mixed $options )
$options mixed
return mixed
xreadgroup() public abstract method

Special version of the XREAD command with support for consumer groups https://redis.io/commands/xreadgroup

public abstract mixed xreadgroup ( mixed $subCommand, mixed $group, mixed $consumer, mixed $options )
$subCommand mixed
$group mixed
$consumer mixed
$options mixed
return mixed
xrevrange() public abstract method

Exactly like XRANGE, but with the notable difference of returning the entries in reverse order, and also taking the start-end range in reverse order https://redis.io/commands/xrevrange

public abstract mixed xrevrange ( mixed $stream, mixed $end, mixed $start, mixed $options )
$stream mixed
$end mixed
$start mixed
$options mixed
return mixed
xtrim() public abstract method

Trims the stream to a given number of items, evicting older items (items with lower IDs) if needed https://redis.io/commands/xtrim

public abstract mixed xtrim ( mixed $stream, mixed $strategy, mixed $options )
$stream mixed
$strategy mixed
$options mixed
return mixed
zadd() public abstract method

Add one or more members to a sorted set, or update its score if it already exists.

https://redis.io/commands/zadd

public abstract mixed zadd ( mixed $key, mixed $options )
$key mixed
$options mixed
return mixed
zcard() public abstract method

Get the number of members in a sorted set.

https://redis.io/commands/zcard

public abstract mixed zcard ( mixed $key )
$key mixed
return mixed
zcount() public abstract method

Count the members in a sorted set with scores within the given values.

https://redis.io/commands/zcount

public abstract mixed zcount ( mixed $key, mixed $min, mixed $max )
$key mixed
$min mixed
$max mixed
return mixed
zincrby() public abstract method

Increment the score of a member in a sorted set.

https://redis.io/commands/zincrby

public abstract mixed zincrby ( mixed $key, mixed $increment, mixed $member )
$key mixed
$increment mixed
$member mixed
return mixed
zinterstore() public abstract method

Intersect multiple sorted sets and store the resulting sorted set in a new key.

https://redis.io/commands/zinterstore

public abstract mixed zinterstore ( mixed $destination, mixed $numkeys, mixed $key, mixed $options )
$destination mixed
$numkeys mixed
$key mixed
$options mixed
return mixed
zlexcount() public abstract method

Count the number of members in a sorted set between a given lexicographical range.

https://redis.io/commands/zlexcount

public abstract mixed zlexcount ( mixed $key, mixed $min, mixed $max )
$key mixed
$min mixed
$max mixed
return mixed
zrange() public abstract method

Return a range of members in a sorted set, by index.

https://redis.io/commands/zrange

public abstract mixed zrange ( mixed $key, mixed $start, mixed $stop, mixed $WITHSCORES )
$key mixed
$start mixed
$stop mixed
$WITHSCORES mixed
return mixed
zrangebylex() public abstract method

Return a range of members in a sorted set, by lexicographical range.

https://redis.io/commands/zrangebylex

public abstract mixed zrangebylex ( mixed $key, mixed $min, mixed $max, mixed $LIMIT, mixed $offset, mixed $count )
$key mixed
$min mixed
$max mixed
$LIMIT mixed
$offset mixed
$count mixed
return mixed
zrangebyscore() public abstract method

Return a range of members in a sorted set, by score.

https://redis.io/commands/zrangebyscore

public abstract mixed zrangebyscore ( mixed $key, mixed $min, mixed $max, mixed $options )
$key mixed
$min mixed
$max mixed
$options mixed
return mixed
zrank() public abstract method

Determine the index of a member in a sorted set.

https://redis.io/commands/zrank

public abstract mixed zrank ( mixed $key, mixed $member )
$key mixed
$member mixed
return mixed
zrem() public abstract method

Remove one or more members from a sorted set.

https://redis.io/commands/zrem

public abstract mixed zrem ( mixed $key, mixed $members )
$key mixed
$members mixed
return mixed
zremrangebylex() public abstract method

Remove all members in a sorted set between the given lexicographical range.

https://redis.io/commands/zremrangebylex

public abstract mixed zremrangebylex ( mixed $key, mixed $min, mixed $max )
$key mixed
$min mixed
$max mixed
return mixed
zremrangebyrank() public abstract method

Remove all members in a sorted set within the given indexes.

https://redis.io/commands/zremrangebyrank

public abstract mixed zremrangebyrank ( mixed $key, mixed $start, mixed $stop )
$key mixed
$start mixed
$stop mixed
return mixed
zremrangebyscore() public abstract method

Remove all members in a sorted set within the given scores.

https://redis.io/commands/zremrangebyscore

public abstract mixed zremrangebyscore ( mixed $key, mixed $min, mixed $max )
$key mixed
$min mixed
$max mixed
return mixed
zrevrange() public abstract method

Return a range of members in a sorted set, by index, with scores ordered from high to low.

https://redis.io/commands/zrevrange

public abstract mixed zrevrange ( mixed $key, mixed $start, mixed $stop, mixed $WITHSCORES )
$key mixed
$start mixed
$stop mixed
$WITHSCORES mixed
return mixed
zrevrangebylex() public abstract method

Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings..

https://redis.io/commands/zrevrangebylex

public abstract mixed zrevrangebylex ( mixed $key, mixed $max, mixed $min, mixed $LIMIT, mixed $offset, mixed $count )
$key mixed
$max mixed
$min mixed
$LIMIT mixed
$offset mixed
$count mixed
return mixed
zrevrangebyscore() public abstract method

Return a range of members in a sorted set, by score, with scores ordered from high to low.

https://redis.io/commands/zrevrangebyscore

public abstract mixed zrevrangebyscore ( mixed $key, mixed $max, mixed $min, mixed $WITHSCORES, mixed $LIMIT, mixed $offset, mixed $count )
$key mixed
$max mixed
$min mixed
$WITHSCORES mixed
$LIMIT mixed
$offset mixed
$count mixed
return mixed
zrevrank() public abstract method

Determine the index of a member in a sorted set, with scores ordered from high to low.

https://redis.io/commands/zrevrank

public abstract mixed zrevrank ( mixed $key, mixed $member )
$key mixed
$member mixed
return mixed
zscan() public abstract method

Incrementally iterate sorted sets elements and associated scores.

https://redis.io/commands/zscan

public abstract mixed zscan ( mixed $key, mixed $cursor, mixed $MATCH, mixed $pattern, mixed $COUNT, mixed $count )
$key mixed
$cursor mixed
$MATCH mixed
$pattern mixed
$COUNT mixed
$count mixed
return mixed
zscore() public abstract method

Get the score associated with the given member in a sorted set.

https://redis.io/commands/zscore

public abstract mixed zscore ( mixed $key, mixed $member )
$key mixed
$member mixed
return mixed
zunionstore() public abstract method

Add multiple sorted sets and store the resulting sorted set in a new key.

https://redis.io/commands/zunionstore

public abstract mixed zunionstore ( mixed $destination, mixed $numkeys, mixed $key, mixed $options )
$destination mixed
$numkeys mixed
$key mixed
$options mixed
return mixed