Index
A
- Redis::acl() — Method in class Redis
- Redis::append() — Method in class Redis
Append data to a Redis STRING key.
- Redis::auth() — Method in class Redis
Authenticate a Redis connection after its been established.
- RedisCluster::acl() — Method in class RedisCluster
- RedisCluster::append() — Method in class RedisCluster
B
- Redis::bgSave() — Method in class Redis
Execute a save of the Redis database in the background.
- Redis::bgrewriteaof() — Method in class Redis
Asynchronously rewrite Redis' append-only file
- Redis::bitcount() — Method in class Redis
Count the number of set bits in a Redis string.
- Redis::bitop() — Method in class Redis
- Redis::bitpos() — Method in class Redis
Return the position of the first bit set to 0 or 1 in a string.
- Redis::blPop() — Method in class Redis
Pop an element off the beginning of a Redis list or lists, potentially blocking up to a specified timeout. This method may be called in two distinct ways, of which examples are provided below.
- Redis::brPop() — Method in class Redis
Pop an element off of the end of a Redis list or lists, potentially blocking up to a specified timeout.
- Redis::brpoplpush() — Method in class Redis
Pop an element from the end of a Redis list, pushing it to the beginning of another Redis list, optionally blocking up to a specified timeout.
- Redis::bzPopMax() — Method in class Redis
POP the maximum scoring element off of one or more sorted sets, blocking up to a specified timeout if no elements are available.
- Redis::bzPopMin() — Method in class Redis
POP the minimum scoring element off of one or more sorted sets, blocking up to a specified timeout if no elements are available
- Redis::bzmpop() — Method in class Redis
POP one or more elements from one or more sorted sets, blocking up to a specified amount of time when no elements are available.
- Redis::blmpop() — Method in class Redis
Pop one or more elements from one or more Redis LISTs, blocking up to a specified timeout when no elements are available.
- RedisArray::bgsave() — Method in class RedisArray
- RedisCluster::bgrewriteaof() — Method in class RedisCluster
- RedisCluster::bgsave() — Method in class RedisCluster
- RedisCluster::bitcount() — Method in class RedisCluster
- RedisCluster::bitop() — Method in class RedisCluster
- RedisCluster::bitpos() — Method in class RedisCluster
Return the position of the first bit set to 0 or 1 in a string.
- RedisCluster::blpop() — Method in class RedisCluster
See Redis::blpop()
- RedisCluster::brpop() — Method in class RedisCluster
See Redis::brpop()
- RedisCluster::brpoplpush() — Method in class RedisCluster
See Redis::brpoplpush()
- RedisCluster::bzpopmax() — Method in class RedisCluster
- RedisCluster::bzpopmin() — Method in class RedisCluster
- RedisCluster::bzmpop() — Method in class RedisCluster
- RedisCluster::blmpop() — Method in class RedisCluster
C
- Redis::clearLastError() — Method in class Redis
Reset any last error on the connection to NULL
- Redis::client() — Method in class Redis
- Redis::close() — Method in class Redis
- Redis::command() — Method in class Redis
- Redis::config() — Method in class Redis
Execute the Redis CONFIG command in a variety of ways.
- Redis::connect() — Method in class Redis
- Redis::copy() — Method in class Redis
Make a copy of a key.
- RedisCluster::clearlasterror() — Method in class RedisCluster
- RedisCluster::client() — Method in class RedisCluster
- RedisCluster::close() — Method in class RedisCluster
- RedisCluster::cluster() — Method in class RedisCluster
- RedisCluster::command() — Method in class RedisCluster
- RedisCluster::config() — Method in class RedisCluster
- RedisSentinel::ckquorum() — Method in class RedisSentinel
D
- Redis::dbSize() — Method in class Redis
Return the number of keys in the currently selected Redis database.
- Redis::debug() — Method in class Redis
- Redis::decr() — Method in class Redis
Decrement a Redis integer by 1 or a provided value.
- Redis::decrBy() — Method in class Redis
Decrement a redis integer by a value
- Redis::del() — Method in class Redis
Delete one or more keys from Redis.
- Redis::delete() — Method in class Redis
- Redis::discard() — Method in class Redis
Discard a transaction currently in progress.
- Redis::dump() — Method in class Redis
Dump Redis' internal binary representation of a key.
- RedisArray::del() — Method in class RedisArray
- RedisArray::discard() — Method in class RedisArray
- RedisCluster::dbsize() — Method in class RedisCluster
- RedisCluster::decr() — Method in class RedisCluster
- RedisCluster::decrby() — Method in class RedisCluster
- RedisCluster::decrbyfloat() — Method in class RedisCluster
- RedisCluster::del() — Method in class RedisCluster
- RedisCluster::discard() — Method in class RedisCluster
- RedisCluster::dump() — Method in class RedisCluster
E
- Redis::echo() — Method in class Redis
Have Redis repeat back an arbitrary string to the client.
- Redis::eval() — Method in class Redis
Execute a LUA script on the redis server.
- Redis::eval_ro() — Method in class Redis
This is simply the read-only variant of eval, meaning the underlying script may not modify data in redis.
- Redis::evalsha() — Method in class Redis
Execute a LUA script on the server but instead of sending the script, send the SHA1 hash of the script.
- Redis::evalsha_ro() — Method in class Redis
This is simply the read-only variant of evalsha, meaning the underlying script may not modify data in redis.
- Redis::exec() — Method in class Redis
Execute either a MULTI or PIPELINE block and return the array of replies.
- Redis::exists() — Method in class Redis
Test if one or more keys exist.
- Redis::expire() — Method in class Redis
Sets an expiration in seconds on the key in question. If connected to redis-server >= 7.0.0 you may send an additional "mode" argument which modifies how the command will execute.
- Redis::expireAt() — Method in class Redis
Set a key to expire at an exact unix timestamp.
- Redis::expiretime() — Method in class Redis
Get the expiration of a given key as a unix timestamp
- RedisArray::exec() — Method in class RedisArray
- RedisCluster::echo() — Method in class RedisCluster
- RedisCluster::eval() — Method in class RedisCluster
- RedisCluster::eval_ro() — Method in class RedisCluster
- RedisCluster::evalsha() — Method in class RedisCluster
- RedisCluster::evalsha_ro() — Method in class RedisCluster
- RedisCluster::exec() — Method in class RedisCluster
- RedisCluster::exists() — Method in class RedisCluster
- RedisCluster::expire() — Method in class RedisCluster
- RedisCluster::expireat() — Method in class RedisCluster
- RedisCluster::expiretime() — Method in class RedisCluster
F
- Redis::failover() — Method in class Redis
- Redis::flushAll() — Method in class Redis
Deletes every key in all Redis databases
- Redis::flushDB() — Method in class Redis
Deletes all the keys of the currently selected database.
- RedisArray::flushall() — Method in class RedisArray
- RedisArray::flushdb() — Method in class RedisArray
- RedisCluster::flushall() — Method in class RedisCluster
- RedisCluster::flushdb() — Method in class RedisCluster
- RedisSentinel::failover() — Method in class RedisSentinel
- RedisSentinel::flushconfig() — Method in class RedisSentinel
G
- Redis::geoadd() — Method in class Redis
Add one or more members to a geospacial sorted set
- Redis::geodist() — Method in class Redis
Get the distance between two members of a geospacially encoded sorted set.
- Redis::geohash() — Method in class Redis
Retrieve one or more GeoHash encoded strings for members of the set.
- Redis::geopos() — Method in class Redis
Return the longitude and latitude for one or more members of a geospacially encoded sorted set.
- Redis::georadius() — Method in class Redis
Retrieve members of a geospacially sorted set that are within a certain radius of a location.
- Redis::georadius_ro() — Method in class Redis
A readonly variant of
GEORADIUS
that may be executed on replicas.- Redis::georadiusbymember() — Method in class Redis
Similar to
GEORADIUS
except it uses a member as the center of the query.- Redis::georadiusbymember_ro() — Method in class Redis
This is the read-only variant of
GEORADIUSBYMEMBER
that can be run on replicas.- Redis::geosearch() — Method in class Redis
Search a geospacial sorted set for members in various ways.
- Redis::geosearchstore() — Method in class Redis
Search a geospacial sorted set for members within a given area or range, storing the results into a new set.
- Redis::get() — Method in class Redis
Retrieve a string keys value.
- Redis::getAuth() — Method in class Redis
Get the authentication information on the connection, if any.
- Redis::getBit() — Method in class Redis
Get the bit at a given index in a string key.
- Redis::getEx() — Method in class Redis
Get the value of a key and optionally set it's expiration.
- Redis::getDBNum() — Method in class Redis
Get the database number PhpRedis thinks we're connected to.
- Redis::getDel() — Method in class Redis
Get a key from Redis and delete it in an atomic operation.
- Redis::getHost() — Method in class Redis
Return the host or Unix socket we are connected to.
- Redis::getLastError() — Method in class Redis
Get the last error returned to us from Redis, if any.
- Redis::getMode() — Method in class Redis
Returns whether the connection is in ATOMIC, MULTI, or PIPELINE mode
- Redis::getOption() — Method in class Redis
Retrieve the value of a configuration setting as set by Redis::setOption()
- Redis::getPersistentID() — Method in class Redis
Get the persistent connection ID, if there is one.
- Redis::getPort() — Method in class Redis
Get the port we are connected to. This number will be zero if we are connected to a unix socket.
- Redis::getRange() — Method in class Redis
Retrieve a substring of a string by index.
- Redis::getReadTimeout() — Method in class Redis
Get the currently set read timeout on the connection.
- Redis::getset() — Method in class Redis
Sets a key and returns any previously set value, if the key already existed.
- Redis::getTimeout() — Method in class Redis
Retrieve any set connection timeout
- Redis::getTransferredBytes() — Method in class Redis
- RedisArray::getOption() — Method in class RedisArray
- RedisCluster::geoadd() — Method in class RedisCluster
- RedisCluster::geodist() — Method in class RedisCluster
- RedisCluster::geohash() — Method in class RedisCluster
- RedisCluster::geopos() — Method in class RedisCluster
- RedisCluster::georadius() — Method in class RedisCluster
- RedisCluster::georadius_ro() — Method in class RedisCluster
- RedisCluster::georadiusbymember() — Method in class RedisCluster
- RedisCluster::georadiusbymember_ro() — Method in class RedisCluster
- RedisCluster::get() — Method in class RedisCluster
- RedisCluster::getbit() — Method in class RedisCluster
- RedisCluster::getlasterror() — Method in class RedisCluster
- RedisCluster::getmode() — Method in class RedisCluster
- RedisCluster::getoption() — Method in class RedisCluster
- RedisCluster::getrange() — Method in class RedisCluster
- RedisCluster::getset() — Method in class RedisCluster
- RedisCluster::gettransferredbytes() — Method in class RedisCluster
- RedisSentinel::getMasterAddrByName() — Method in class RedisSentinel
H
- Redis::hDel() — Method in class Redis
Remove one or more fields from a hash.
- Redis::hExists() — Method in class Redis
Checks whether a field exists in a hash.
- Redis::hGet() — Method in class Redis
- Redis::hGetAll() — Method in class Redis
Read every field and value from a hash.
- Redis::hIncrBy() — Method in class Redis
Increment a hash field's value by an integer
- Redis::hIncrByFloat() — Method in class Redis
Increment a hash field by a floating point value
- Redis::hKeys() — Method in class Redis
Retrieve all of the fields of a hash.
- Redis::hLen() — Method in class Redis
Get the number of fields in a hash.
- Redis::hMget() — Method in class Redis
Get one or more fields from a hash.
- Redis::hMset() — Method in class Redis
Add or update one or more hash fields and values
- Redis::hRandField() — Method in class Redis
Get one or more random field from a hash.
- Redis::hSet() — Method in class Redis
- Redis::hSetNx() — Method in class Redis
Set a hash field and value, but only if that field does not exist
- Redis::hStrLen() — Method in class Redis
Get the string length of a hash field
- Redis::hVals() — Method in class Redis
Get all of the values from a hash.
- Redis::hscan() — Method in class Redis
Iterate over the fields and values of a hash in an incremental fashion.
- RedisArray::hscan() — Method in class RedisArray
- RedisCluster::hdel() — Method in class RedisCluster
- RedisCluster::hexists() — Method in class RedisCluster
- RedisCluster::hget() — Method in class RedisCluster
- RedisCluster::hgetall() — Method in class RedisCluster
- RedisCluster::hincrby() — Method in class RedisCluster
- RedisCluster::hincrbyfloat() — Method in class RedisCluster
- RedisCluster::hkeys() — Method in class RedisCluster
- RedisCluster::hlen() — Method in class RedisCluster
- RedisCluster::hmget() — Method in class RedisCluster
- RedisCluster::hmset() — Method in class RedisCluster
- RedisCluster::hscan() — Method in class RedisCluster
- RedisCluster::hset() — Method in class RedisCluster
- RedisCluster::hsetnx() — Method in class RedisCluster
- RedisCluster::hstrlen() — Method in class RedisCluster
- RedisCluster::hvals() — Method in class RedisCluster
I
- Redis::incr() — Method in class Redis
Increment a key's value, optionally by a specific amount.
- Redis::incrBy() — Method in class Redis
Increment a key by a specific integer value
- Redis::incrByFloat() — Method in class Redis
Increment a numeric key by a floating point value.
- Redis::info() — Method in class Redis
Retrieve information about the connected redis-server. If no arguments are passed to this function, redis will return every info field. Alternatively you may pass a specific section you want returned (e.g. 'server', or 'memory') to receive only information pertaining to that section.
- Redis::isConnected() — Method in class Redis
Check if we are currently connected to a Redis instance.
- RedisArray::info() — Method in class RedisArray
- RedisCluster::incr() — Method in class RedisCluster
- RedisCluster::incrby() — Method in class RedisCluster
- RedisCluster::incrbyfloat() — Method in class RedisCluster
- RedisCluster::info() — Method in class RedisCluster
Retrieve information about the connected redis-server. If no arguments are passed to this function, redis will return every info field. Alternatively you may pass a specific section you want returned (e.g. 'server', or 'memory') to receive only information pertaining to that section.
K
- Redis::keys() — Method in class Redis
- RedisArray::keys() — Method in class RedisArray
- RedisCluster::keys() — Method in class RedisCluster
L
- Redis::lmpop() — Method in class Redis
Pop one or more elements off of one or more Redis LISTs.
- Redis::lcs() — Method in class Redis
Get the longest common subsequence between two string keys.
- Redis::lInsert() — Method in class Redis
- Redis::lLen() — Method in class Redis
Retrieve the length of a list.
- Redis::lMove() — Method in class Redis
Move an element from one list into another.
- Redis::lPop() — Method in class Redis
Pop one or more elements off a list.
- Redis::lPos() — Method in class Redis
Retrieve the index of an element in a list.
- Redis::lPush() — Method in class Redis
Prepend one or more elements to a list.
- Redis::lPushx() — Method in class Redis
Prepend an element to a list but only if the list exists
- Redis::lSet() — Method in class Redis
Set a list element at an index to a specific value.
- Redis::lastSave() — Method in class Redis
Retrieve the last time Redis' database was persisted to disk.
- Redis::lindex() — Method in class Redis
Get the element of a list by its index.
- Redis::lrange() — Method in class Redis
Retrieve elements from a list.
- Redis::lrem() — Method in class Redis
Remove one or more matching elements from a list.
- Redis::ltrim() — Method in class Redis
Trim a list to a subrange of elements.
- RedisCluster::lmpop() — Method in class RedisCluster
- RedisCluster::lcs() — Method in class RedisCluster
- RedisCluster::lastsave() — Method in class RedisCluster
- RedisCluster::lget() — Method in class RedisCluster
- RedisCluster::lindex() — Method in class RedisCluster
- RedisCluster::linsert() — Method in class RedisCluster
- RedisCluster::llen() — Method in class RedisCluster
- RedisCluster::lpop() — Method in class RedisCluster
- RedisCluster::lpush() — Method in class RedisCluster
- RedisCluster::lpushx() — Method in class RedisCluster
- RedisCluster::lrange() — Method in class RedisCluster
- RedisCluster::lrem() — Method in class RedisCluster
- RedisCluster::lset() — Method in class RedisCluster
- RedisCluster::ltrim() — Method in class RedisCluster
M
- Redis::mget() — Method in class Redis
Get one ore more string keys.
- Redis::migrate() — Method in class Redis
- Redis::move() — Method in class Redis
Move a key to a different database on the same redis instance.
- Redis::mset() — Method in class Redis
Set one ore more string keys.
- Redis::msetnx() — Method in class Redis
Set one ore more string keys but only if none of the key exist.
- Redis::multi() — Method in class Redis
Begin a transaction.
- RedisArray::mget() — Method in class RedisArray
- RedisArray::mset() — Method in class RedisArray
- RedisArray::multi() — Method in class RedisArray
- RedisCluster::mget() — Method in class RedisCluster
- RedisCluster::mset() — Method in class RedisCluster
- RedisCluster::msetnx() — Method in class RedisCluster
- RedisCluster::multi() — Method in class RedisCluster
- RedisSentinel::master() — Method in class RedisSentinel
- RedisSentinel::masters() — Method in class RedisSentinel
- RedisSentinel::myid() — Method in class RedisSentinel
O
- Redis::object() — Method in class Redis
- Redis::open() — Method in class Redis
- RedisCluster::object() — Method in class RedisCluster
P
- Redis::pexpiretime() — Method in class Redis
Get the expiration timestamp of a given Redis key but in milliseconds.
- Redis::pconnect() — Method in class Redis
- Redis::persist() — Method in class Redis
Remove the expiration from a key.
- Redis::pexpire() — Method in class Redis
Sets an expiration in milliseconds on a given key. If connected to Redis >= 7.0.0 you can pass an optional mode argument that modifies how the command will execute.
- Redis::pexpireAt() — Method in class Redis
Set a key's expiration to a specific Unix Timestamp in milliseconds. If connected to Redis >= 7.0.0 you can pass an optional 'mode' argument.
- Redis::pfadd() — Method in class Redis
Add one or more elements to a Redis HyperLogLog key
- Redis::pfcount() — Method in class Redis
Retrieve the cardinality of a Redis HyperLogLog key.
- Redis::pfmerge() — Method in class Redis
Merge one or more source HyperLogLog sets into a destination set.
- Redis::ping() — Method in class Redis
PING the redis server with an optional string argument.
- Redis::pipeline() — Method in class Redis
Enter into pipeline mode.
- Redis::popen() — Method in class Redis
- Redis::psetex() — Method in class Redis
Set a key with an expiration time in milliseconds
- Redis::psubscribe() — Method in class Redis
Subscribe to one or more glob-style patterns
- Redis::pttl() — Method in class Redis
Get a keys time to live in milliseconds.
- Redis::publish() — Method in class Redis
Publish a message to a pubsub channel
- Redis::pubsub() — Method in class Redis
- Redis::punsubscribe() — Method in class Redis
Unsubscribe from one or more channels by pattern
- RedisArray::ping() — Method in class RedisArray
- RedisCluster::pexpiretime() — Method in class RedisCluster
- RedisCluster::persist() — Method in class RedisCluster
- RedisCluster::pexpire() — Method in class RedisCluster
- RedisCluster::pexpireat() — Method in class RedisCluster
- RedisCluster::pfadd() — Method in class RedisCluster
- RedisCluster::pfcount() — Method in class RedisCluster
- RedisCluster::pfmerge() — Method in class RedisCluster
- RedisCluster::ping() — Method in class RedisCluster
PING an instance in the redis cluster.
- RedisCluster::psetex() — Method in class RedisCluster
- RedisCluster::psubscribe() — Method in class RedisCluster
- RedisCluster::pttl() — Method in class RedisCluster
- RedisCluster::publish() — Method in class RedisCluster
- RedisCluster::pubsub() — Method in class RedisCluster
- RedisCluster::punsubscribe() — Method in class RedisCluster
- RedisSentinel::ping() — Method in class RedisSentinel
R
- Redis
- Redis::rPush() — Method in class Redis
Append one or more elements to a list.
- Redis::rPushx() — Method in class Redis
Append an element to a list but only if the list exists
- Redis::rPop() — Method in class Redis
Pop one or more elements from the end of a list.
- Redis::randomKey() — Method in class Redis
Return a random key from the current database
- Redis::rawcommand() — Method in class Redis
Execute any arbitrary Redis command by name.
- Redis::rename() — Method in class Redis
Unconditionally rename a key from $old_name to $new_name
- Redis::renameNx() — Method in class Redis
Renames $key_src to $key_dst but only if newkey does not exist.
- Redis::reset() — Method in class Redis
Reset the state of the connection.
- Redis::restore() — Method in class Redis
Restore a key by the binary payload generated by the DUMP command.
- Redis::role() — Method in class Redis
Query whether the connected instance is a primary or replica
- Redis::rpoplpush() — Method in class Redis
Atomically pop an element off the end of a Redis LIST and push it to the beginning of another.
- Redis::replicaof() — Method in class Redis
Used to turn a Redis instance into a replica of another, or to remove replica status promoting the instance to a primary.
- RedisArray
- RedisCluster
- RedisCluster::randomkey() — Method in class RedisCluster
- RedisCluster::rawcommand() — Method in class RedisCluster
- RedisCluster::rename() — Method in class RedisCluster
- RedisCluster::renamenx() — Method in class RedisCluster
- RedisCluster::restore() — Method in class RedisCluster
- RedisCluster::role() — Method in class RedisCluster
- RedisCluster::rpop() — Method in class RedisCluster
- RedisCluster::rpoplpush() — Method in class RedisCluster
- RedisCluster::rpush() — Method in class RedisCluster
- RedisCluster::rpushx() — Method in class RedisCluster
- RedisClusterException
- RedisException
- RedisSentinel
- RedisSentinel::reset() — Method in class RedisSentinel
S
- Redis::sAdd() — Method in class Redis
Add one or more values to a Redis SET key.
- Redis::sAddArray() — Method in class Redis
Add one ore more values to a Redis SET key. This is an alternative to Redis::sadd() but instead of being variadic, takes a single array of values.
- Redis::sDiff() — Method in class Redis
Given one or more Redis SETS, this command returns all of the members from the first set that are not in any subsequent set.
- Redis::sDiffStore() — Method in class Redis
This method performs the same operation as SDIFF except it stores the resulting diff values in a specified destination key.
- Redis::sInter() — Method in class Redis
Given one or more Redis SET keys, this command will return all of the elements that are in every one.
- Redis::sintercard() — Method in class Redis
Compute the intersection of one or more sets and return the cardinality of the result.
- Redis::sInterStore() — Method in class Redis
Perform the intersection of one or more Redis SETs, storing the result in a destination key, rather than returning them.
- Redis::sMembers() — Method in class Redis
Retrieve every member from a set key.
- Redis::sMisMember() — Method in class Redis
Check if one or more values are members of a set.
- Redis::sMove() — Method in class Redis
Pop a member from one set and push it onto another. This command will create the destination set if it does not currently exist.
- Redis::sPop() — Method in class Redis
Remove one or more elements from a set.
- Redis::sRandMember() — Method in class Redis
Retrieve one or more random members of a set.
- Redis::sUnion() — Method in class Redis
Returns the union of one or more Redis SET keys.
- Redis::sUnionStore() — Method in class Redis
Perform a union of one or more Redis SET keys and store the result in a new set
- Redis::save() — Method in class Redis
Persist the Redis database to disk. This command will block the server until the save is completed. For a nonblocking alternative, see Redis::bgsave().
- Redis::scan() — Method in class Redis
Incrementally scan the Redis keyspace, with optional pattern and type matching.
- Redis::scard() — Method in class Redis
Retrieve the number of members in a Redis set.
- Redis::script() — Method in class Redis
An administrative command used to interact with LUA scripts stored on the server.
- Redis::select() — Method in class Redis
Select a specific Redis database.
- Redis::set() — Method in class Redis
Create or set a Redis STRING key to a value.
- Redis::setBit() — Method in class Redis
Set a specific bit in a Redis string to zero or one
- Redis::setRange() — Method in class Redis
Update or append to a Redis string at a specific starting index
- Redis::setOption() — Method in class Redis
Set a configurable option on the Redis object.
- Redis::setex() — Method in class Redis
Set a Redis STRING key with a specific expiration in seconds.
- Redis::setnx() — Method in class Redis
Set a key to a value, but only if that key does not already exist.
- Redis::sismember() — Method in class Redis
Check whether a given value is the member of a Redis SET.
- Redis::slaveof() — Method in class Redis
Turn a redis instance into a replica of another or promote a replica to a primary.
- Redis::slowlog() — Method in class Redis
Interact with Redis' slowlog functionality in various ways, depending on the value of 'operation'.
- Redis::sort() — Method in class Redis
Sort the contents of a Redis key in various ways.
- Redis::sort_ro() — Method in class Redis
This is simply a read-only variant of the sort command
- Redis::sortAsc() — Method in class Redis
- Redis::sortAscAlpha() — Method in class Redis
- Redis::sortDesc() — Method in class Redis
- Redis::sortDescAlpha() — Method in class Redis
- Redis::srem() — Method in class Redis
Remove one or more values from a Redis SET key.
- Redis::sscan() — Method in class Redis
Scan the members of a redis SET key.
- Redis::strlen() — Method in class Redis
Retrieve the length of a Redis STRING key.
- Redis::subscribe() — Method in class Redis
Subscribe to one or more Redis pubsub channels.
- Redis::swapdb() — Method in class Redis
Atomically swap two Redis databases so that all of the keys in the source database will now be in the destination database and vice-versa.
- RedisArray::save() — Method in class RedisArray
- RedisArray::scan() — Method in class RedisArray
- RedisArray::select() — Method in class RedisArray
- RedisArray::setOption() — Method in class RedisArray
- RedisArray::sscan() — Method in class RedisArray
- RedisCluster::sadd() — Method in class RedisCluster
- RedisCluster::saddarray() — Method in class RedisCluster
- RedisCluster::save() — Method in class RedisCluster
- RedisCluster::scan() — Method in class RedisCluster
- RedisCluster::scard() — Method in class RedisCluster
- RedisCluster::script() — Method in class RedisCluster
- RedisCluster::sdiff() — Method in class RedisCluster
- RedisCluster::sdiffstore() — Method in class RedisCluster
- RedisCluster::set() — Method in class RedisCluster
- RedisCluster::setbit() — Method in class RedisCluster
- RedisCluster::setex() — Method in class RedisCluster
- RedisCluster::setnx() — Method in class RedisCluster
- RedisCluster::setoption() — Method in class RedisCluster
- RedisCluster::setrange() — Method in class RedisCluster
- RedisCluster::sinter() — Method in class RedisCluster
- RedisCluster::sintercard() — Method in class RedisCluster
- RedisCluster::sinterstore() — Method in class RedisCluster
- RedisCluster::sismember() — Method in class RedisCluster
- RedisCluster::slowlog() — Method in class RedisCluster
- RedisCluster::smembers() — Method in class RedisCluster
- RedisCluster::smove() — Method in class RedisCluster
- RedisCluster::sort() — Method in class RedisCluster
- RedisCluster::sort_ro() — Method in class RedisCluster
- RedisCluster::spop() — Method in class RedisCluster
- RedisCluster::srandmember() — Method in class RedisCluster
- RedisCluster::srem() — Method in class RedisCluster
- RedisCluster::sscan() — Method in class RedisCluster
- RedisCluster::strlen() — Method in class RedisCluster
- RedisCluster::subscribe() — Method in class RedisCluster
- RedisCluster::sunion() — Method in class RedisCluster
- RedisCluster::sunionstore() — Method in class RedisCluster
- RedisSentinel::sentinels() — Method in class RedisSentinel
- RedisSentinel::slaves() — Method in class RedisSentinel
T
- Redis::touch() — Method in class Redis
Update one or more keys last modified metadata.
- Redis::time() — Method in class Redis
Retrieve the server time from the connected Redis instance.
- Redis::ttl() — Method in class Redis
Get the amount of time a Redis key has before it will expire, in seconds.
- Redis::type() — Method in class Redis
Get the type of a given Redis key.
- RedisCluster::touch() — Method in class RedisCluster
- RedisCluster::time() — Method in class RedisCluster
- RedisCluster::ttl() — Method in class RedisCluster
- RedisCluster::type() — Method in class RedisCluster
U
- Redis::unlink() — Method in class Redis
Delete one or more keys from the Redis database. Unlike this operation, the actual deletion is asynchronous, meaning it is safe to delete large keys without fear of Redis blocking for a long period of time.
- Redis::unsubscribe() — Method in class Redis
Unsubscribe from one or more subscribed channels.
- Redis::unwatch() — Method in class Redis
Remove any previously WATCH'ed keys in a transaction.
- RedisArray::unlink() — Method in class RedisArray
- RedisArray::unwatch() — Method in class RedisArray
- RedisCluster::unsubscribe() — Method in class RedisCluster
- RedisCluster::unlink() — Method in class RedisCluster
- RedisCluster::unwatch() — Method in class RedisCluster
W
- Redis::watch() — Method in class Redis
Watch one or more keys for conditional execution of a transaction.
- Redis::wait() — Method in class Redis
Block the client up to the provided timeout until a certain number of replicas have confirmed receiving them.
- RedisCluster::watch() — Method in class RedisCluster
X
- Redis::xack() — Method in class Redis
Acknowledge one ore more messages that are pending (have been consumed using XREADGROUP but not yet acknowledged by XACK.)
- Redis::xadd() — Method in class Redis
Append a message to a stream.
- Redis::xautoclaim() — Method in class Redis
This command allows a consumer to claim pending messages that have been idle for a specified period of time.
- Redis::xclaim() — Method in class Redis
This method allows a consumer to take ownership of pending stream entries, by ID. Another command that does much the same thing but does not require passing specific IDs is
Redis::xAutoClaim
.- Redis::xdel() — Method in class Redis
Remove one or more specific IDs from a stream.
- Redis::xgroup() — Method in class Redis
- XGROUP
- Redis::xinfo() — Method in class Redis
Retrieve information about a stream key.
- Redis::xlen() — Method in class Redis
Get the number of messages in a Redis STREAM key.
- Redis::xpending() — Method in class Redis
Interact with stream messages that have been consumed by a consumer group but not yet acknowledged with XACK.
- Redis::xrange() — Method in class Redis
Get a range of entries from a STREAM key.
- Redis::xread() — Method in class Redis
Consume one or more unconsumed elements in one or more streams.
- Redis::xreadgroup() — Method in class Redis
Read one or more messages using a consumer group.
- Redis::xrevrange() — Method in class Redis
Get a range of entries from a STREAM key in reverse chronological order.
- Redis::xtrim() — Method in class Redis
Truncate a STREAM key in various ways.
- RedisCluster::xack() — Method in class RedisCluster
- RedisCluster::xadd() — Method in class RedisCluster
- RedisCluster::xclaim() — Method in class RedisCluster
- RedisCluster::xdel() — Method in class RedisCluster
- RedisCluster::xgroup() — Method in class RedisCluster
- RedisCluster::xautoclaim() — Method in class RedisCluster
- RedisCluster::xinfo() — Method in class RedisCluster
- RedisCluster::xlen() — Method in class RedisCluster
- RedisCluster::xpending() — Method in class RedisCluster
- RedisCluster::xrange() — Method in class RedisCluster
- RedisCluster::xread() — Method in class RedisCluster
- RedisCluster::xreadgroup() — Method in class RedisCluster
- RedisCluster::xrevrange() — Method in class RedisCluster
- RedisCluster::xtrim() — Method in class RedisCluster
Z
- Redis::zmpop() — Method in class Redis
POP one or more of the highest or lowest scoring elements from one or more sorted sets.
- Redis::zAdd() — Method in class Redis
Add one or more elements and scores to a Redis sorted set.
- Redis::zCard() — Method in class Redis
Return the number of elements in a sorted set.
- Redis::zCount() — Method in class Redis
Count the number of members in a sorted set with scores inside a provided range.
- Redis::zIncrBy() — Method in class Redis
Create or increment the score of a member in a Redis sorted set
- Redis::zLexCount() — Method in class Redis
Count the number of elements in a sorted set whose members fall within the provided lexographical range.
- Redis::zMscore() — Method in class Redis
Retrieve the score of one or more members in a sorted set.
- Redis::zPopMax() — Method in class Redis
Pop one or more of the highest scoring elements from a sorted set.
- Redis::zPopMin() — Method in class Redis
Pop one or more of the lowest scoring elements from a sorted set.
- Redis::zRange() — Method in class Redis
Retrieve a range of elements of a sorted set between a start and end point.
- Redis::zRangeByLex() — Method in class Redis
Retrieve a range of elements from a sorted set by legographical range.
- Redis::zRangeByScore() — Method in class Redis
Retrieve a range of members from a sorted set by their score.
- Redis::zrangestore() — Method in class Redis
This command is similar to ZRANGE except that instead of returning the values directly it will store them in a destination key provided by the user
- Redis::zRandMember() — Method in class Redis
Retrieve one or more random members from a Redis sorted set.
- Redis::zRank() — Method in class Redis
Get the rank of a member of a sorted set, by score.
- Redis::zRem() — Method in class Redis
Remove one or more members from a Redis sorted set.
- Redis::zRemRangeByLex() — Method in class Redis
Remove zero or more elements from a Redis sorted set by legographical range.
- Redis::zRemRangeByRank() — Method in class Redis
Remove one or more members of a sorted set by their rank.
- Redis::zRemRangeByScore() — Method in class Redis
Remove one or more members of a sorted set by their score.
- Redis::zRevRange() — Method in class Redis
List the members of a Redis sorted set in reverse order
- Redis::zRevRangeByLex() — Method in class Redis
List members of a Redis sorted set within a legographical range, in reverse order.
- Redis::zRevRangeByScore() — Method in class Redis
List elements from a Redis sorted set by score, highest to lowest
- Redis::zRevRank() — Method in class Redis
Retrieve a member of a sorted set by reverse rank.
- Redis::zScore() — Method in class Redis
Get the score of a member of a sorted set.
- Redis::zdiff() — Method in class Redis
Given one or more sorted set key names, return every element that is in the first set but not any of the others.
- Redis::zdiffstore() — Method in class Redis
Store the difference of one or more sorted sets in a destination sorted set.
- Redis::zinter() — Method in class Redis
Compute the intersection of one or more sorted sets and return the members
- Redis::zintercard() — Method in class Redis
Similar to ZINTER but instead of returning the intersected values, this command returns the cardinality of the intersected set.
- Redis::zinterstore() — Method in class Redis
Compute the intersection of one ore more sorted sets storing the result in a new sorted set.
- Redis::zscan() — Method in class Redis
Scan the members of a sorted set incrementally, using a cursor
- Redis::zunion() — Method in class Redis
Retrieve the union of one or more sorted sets
- Redis::zunionstore() — Method in class Redis
Perform a union on one or more Redis sets and store the result in a destination sorted set.
- RedisArray::zscan() — Method in class RedisArray
- RedisCluster::zmpop() — Method in class RedisCluster
- RedisCluster::zadd() — Method in class RedisCluster
- RedisCluster::zcard() — Method in class RedisCluster
- RedisCluster::zcount() — Method in class RedisCluster
- RedisCluster::zincrby() — Method in class RedisCluster
- RedisCluster::zinterstore() — Method in class RedisCluster
- RedisCluster::zintercard() — Method in class RedisCluster
- RedisCluster::zlexcount() — Method in class RedisCluster
- RedisCluster::zpopmax() — Method in class RedisCluster
- RedisCluster::zpopmin() — Method in class RedisCluster
- RedisCluster::zrange() — Method in class RedisCluster
- RedisCluster::zrangestore() — Method in class RedisCluster
- RedisCluster::zrangebylex() — Method in class RedisCluster
- RedisCluster::zrangebyscore() — Method in class RedisCluster
- RedisCluster::zrank() — Method in class RedisCluster
- RedisCluster::zrem() — Method in class RedisCluster
- RedisCluster::zremrangebylex() — Method in class RedisCluster
- RedisCluster::zremrangebyrank() — Method in class RedisCluster
- RedisCluster::zremrangebyscore() — Method in class RedisCluster
- RedisCluster::zrevrange() — Method in class RedisCluster
- RedisCluster::zrevrangebylex() — Method in class RedisCluster
- RedisCluster::zrevrangebyscore() — Method in class RedisCluster
- RedisCluster::zrevrank() — Method in class RedisCluster
- RedisCluster::zscan() — Method in class RedisCluster
- RedisCluster::zscore() — Method in class RedisCluster
- RedisCluster::zunionstore() — Method in class RedisCluster
_
- Redis::__construct() — Method in class Redis
Create a new Redis instance. If passed sufficient information in the options array it is also possible to connect to an instance at the same time.
- Redis::__destruct() — Method in class Redis
- Redis::_compress() — Method in class Redis
Compress a value with the currently configured compressor as set with Redis::setOption().
- Redis::_uncompress() — Method in class Redis
Uncompress the provided argument that has been compressed with the currently configured compressor as set with Redis::setOption().
- Redis::_prefix() — Method in class Redis
Prefix the passed argument with the currently set key prefix as set with Redis::setOption().
- Redis::_serialize() — Method in class Redis
Serialize the provided value with the currently set serializer as set with Redis::setOption().
- Redis::_unserialize() — Method in class Redis
Unserialize the passed argument with the currently set serializer as set with Redis::setOption().
- Redis::_pack() — Method in class Redis
Pack the provided value with the configured serializer and compressor as set with Redis::setOption().
- Redis::_unpack() — Method in class Redis
Unpack the provided value with the configured compressor and serializer as set with Redis::setOption().
- RedisArray::__call() — Method in class RedisArray
- RedisArray::__construct() — Method in class RedisArray
- RedisArray::_continuum() — Method in class RedisArray
- RedisArray::_distributor() — Method in class RedisArray
- RedisArray::_function() — Method in class RedisArray
- RedisArray::_hosts() — Method in class RedisArray
- RedisArray::_instance() — Method in class RedisArray
- RedisArray::_rehash() — Method in class RedisArray
- RedisArray::_target() — Method in class RedisArray
- RedisCluster::__construct() — Method in class RedisCluster
- RedisCluster::_compress() — Method in class RedisCluster
- RedisCluster::_uncompress() — Method in class RedisCluster
- RedisCluster::_serialize() — Method in class RedisCluster
- RedisCluster::_unserialize() — Method in class RedisCluster
- RedisCluster::_pack() — Method in class RedisCluster
- RedisCluster::_unpack() — Method in class RedisCluster
- RedisCluster::_prefix() — Method in class RedisCluster
- RedisCluster::_masters() — Method in class RedisCluster
- RedisCluster::_redir() — Method in class RedisCluster
- RedisSentinel::__construct() — Method in class RedisSentinel