code
stringlengths 31
1.39M
| docstring
stringlengths 23
16.8k
| func_name
stringlengths 1
126
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
166
| url
stringlengths 50
220
| license
stringclasses 7
values |
---|---|---|---|---|---|---|---|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function hmset(mixed $key, array $members) : Cluster|bool
{
}
|
Sets the specified fields to their respective values in the hash stored at key.
@param mixed $key
@param array $members
@return Cluster|bool
|
hmset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function hrandfield(mixed $key, array|null $options = null) : Cluster|array|string|false
{
}
|
When called with just the key argument, return a random field from the hash value stored at key.
@param mixed $key
@param array $options
@return Cluster|array|string|false
|
hrandfield
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function hscan(mixed $key, mixed &$iterator, mixed $match = null, int $count = 0) : array|false
{
}
|
Iterates fields of Hash types and their associated values.
@param mixed $key
@param mixed $iterator
@param mixed $match
@param int $count
@return array|false
|
hscan
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function hset(mixed $key, mixed $member, mixed $value, mixed ...$kvals) : Cluster|int|false
{
}
|
Sets field in the hash stored at key to value.
@param mixed $key
@param mixed $member
@param mixed $value
@param mixed $kvals,...
@return Cluster|int|false
|
hset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function hsetnx(mixed $key, mixed $member, mixed $value) : Cluster|bool
{
}
|
Sets field in the hash stored at key to value, only if field does not yet exist.
@param mixed $key
@param mixed $member
@param mixed $value
@return Cluster|bool
|
hsetnx
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function hstrlen(mixed $key, mixed $member) : Cluster|int|false
{
}
|
Returns the string length of the value associated with field in the hash stored at key.
@param mixed $key
@param mixed $member
@return Cluster|int|false
|
hstrlen
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function hvals(mixed $key) : Cluster|array|false
{
}
|
Returns all values in the hash stored at key.
@param mixed $key
@return Cluster|array|false
|
hvals
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function incr(mixed $key, int $by = 1) : Cluster|int|false
{
}
|
Increments the number stored at key by one.
@param mixed $key
@param int $by
@return Cluster|int|false
|
incr
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function incrby(mixed $key, int $value) : Cluster|int|false
{
}
|
Increments the number stored at key by increment.
@param mixed $key
@param int $value
@return Cluster|int|false
|
incrby
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function incrbyfloat(mixed $key, float $value) : Cluster|float|false
{
}
|
Increment the string representing a floating point number stored at key by the specified increment.
@param mixed $key
@param float $value
@return Cluster|float|false
|
incrbyfloat
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function info(array|string $key_or_address, string ...$sections) : Cluster|array|false
{
}
|
The INFO command returns information and statistics about Redis in a format
that is simple to parse by computers and easy to read by humans.
@see https://redis.io/commands/info
@param array|string $key_or_address
@param string $sections,...
@return Cluster|array|false
|
info
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function keys(mixed $pattern) : Cluster|array|false
{
}
|
Returns all keys matching pattern.
@param mixed $pattern
@return Cluster|array|false
|
keys
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lastsave(array|string $key_or_address) : Cluster|int|false
{
}
|
Returns the UNIX time stamp of the last successful save to disk.
@return Cluster|int|false
|
lastsave
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lcs(mixed $key1, mixed $key2, array|null $options = null) : mixed
{
}
|
Get the longest common subsequence between two string keys.
@param mixed $key1
@param mixed $key2
@param array|null $options
@return mixed
|
lcs
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function lindex(mixed $key, int $index) : mixed
{
}
|
Returns the element at index index in the list stored at key.
@param mixed $key
@param int $index
@return mixed
|
lindex
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function linsert(mixed $key, string $op, mixed $pivot, mixed $element) : Cluster|int|false
{
}
|
Inserts element in the list stored at key either before or after the reference value pivot.
@param mixed $key
@param string $op
@param mixed $pivot
@param mixed $element
@return Cluster|int|false
|
linsert
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function llen(mixed $key) : Cluster|int|false
{
}
|
Returns the length of the list stored at `$key`.
@param mixed $key
@return Cluster|int|false
|
llen
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lmove(mixed $srckey, mixed $dstkey, string $srcpos, string $dstpos) : Cluster|string|null|false
{
}
|
Atomically returns and removes the first/last element of the list
stored at source, and pushes the element at the first/last
element of the list stored at destination.
@param mixed $srckey
@param mixed $dstkey
@param string $srcpos
@param string $dstpos
@return Cluster|string|null|false
|
lmove
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lmpop(array $keys, string $from, int $count = 1) : mixed
{
}
|
Pops one or more elements from the first non-empty list key from the list of provided key names.
@param array $keys
@param string $from
@param int $count
@return Cluster|array|null|false
|
lmpop
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lpop(mixed $key, int $count = 1) : mixed
{
}
|
Removes and returns the first elements of the list stored at key.
@param mixed $key
@param int $count
@return mixed
|
lpop
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function lpos(mixed $key, mixed $value, array|null $options = null) : mixed
{
}
|
The command returns the index of matching elements inside a Redis list.
@param mixed $key
@param mixed $value
@param array $options
@return mixed
|
lpos
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lpush(mixed $key, mixed $member, mixed ...$members) : Cluster|int|false
{
}
|
Insert all the specified values at the head of the list stored at key.
@param mixed $key
@param mixed $member
@param mixed $members,...
@return Cluster|int|false
|
lpush
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lpushx(mixed $key, mixed $member, mixed ...$members) : Cluster|int|false
{
}
|
Inserts specified values at the head of the list stored at key,
only if key already exists and holds a list.
@param mixed $key
@param mixed $member
@param mixed $members,...
@return Cluster|int|false
|
lpushx
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function lrange(mixed $key, int $start, int $stop) : Cluster|array|false
{
}
|
Returns the specified elements of the list stored at key.
@param mixed $key
@param int $start
@param int $stop
@return Cluster|array|false
|
lrange
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lrem(mixed $key, mixed $member, int $count = 0) : Cluster|int|false
{
}
|
Removes the first count occurrences of elements equal to element from the list stored at key.
@param mixed $key
@param mixed $member
@param int $count
@return Cluster|int|false
|
lrem
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function lset(mixed $key, int $index, mixed $member) : Cluster|bool
{
}
|
Sets the list element at index to element.
@param mixed $key
@param int $index
@param mixed $member
@return Cluster|bool
|
lset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function ltrim(mixed $key, int $start, int $end) : Cluster|bool
{
}
|
Trim an existing list so that it will contain only the specified range of elements specified.
@param mixed $key
@param int $start
@param int $end
@return Cluster|bool
|
ltrim
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function mget(array $keys) : Cluster|array|false
{
}
|
Returns the values of all specified keys.
@param array $keys
@return Cluster|array|false
|
mget
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function mset(array $kvals) : Cluster|array|bool
{
}
|
Sets the given keys to their respective values.
MSET replaces existing values with new values, just as regular SET.
@param array $kvals
@return Cluster|array|bool
|
mset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function msetnx(array $kvals) : Cluster|array|bool
{
}
|
Sets the given keys to their respective values.
MSETNX will not perform any operation at all even if just a single key already exists.
@param array $kvals
@return Cluster|array|bool
|
msetnx
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function multi(int $mode = Relay::MULTI) : Cluster|bool
{
}
|
Marks the start of a transaction block. Subsequent commands will be queued for atomic execution using EXEC.
Accepts only `Relay::MULTI` mode.
@param int $mode
@return Cluster|bool
|
multi
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function object(string $op, mixed $key) : mixed
{
}
|
This is a container command for object introspection commands.
@param string $op
@param mixed $key
@return mixed
|
object
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function persist(mixed $key) : Cluster|bool
{
}
|
Remove the existing timeout on key, turning the key from volatile to persistent.
@param mixed $key
@return Cluster|bool
|
persist
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function pexpire(mixed $key, int $milliseconds) : Cluster|bool
{
}
|
Set a key's time to live in milliseconds.
@param mixed $key
@param int $milliseconds
@return Cluster|bool
|
pexpire
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function pexpireat(mixed $key, int $timestamp_ms) : Cluster|bool
{
}
|
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
@param mixed $key
@param int $timestamp_ms
@return Cluster|bool
|
pexpireat
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function pexpiretime(mixed $key) : Cluster|int|false
{
}
|
Semantic the same as EXPIRETIME, but returns the absolute Unix expiration
timestamp in milliseconds instead of seconds.
@param mixed $key
@return Cluster|int|false
|
pexpiretime
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function pfadd(mixed $key, array $elements) : Cluster|int|false
{
}
|
Adds the specified elements to the specified HyperLogLog.
@param string $key
@param array $elements
@return Cluster|int|false
|
pfadd
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function pfcount(mixed $key) : Cluster|int|false
{
}
|
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
@param string $key
@return Cluster|int|false
|
pfcount
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function pfmerge(string $dstkey, array $srckeys) : Cluster|bool
{
}
|
Merge given HyperLogLogs into a single one.
@param string $dstkey
@param array $srckeys
@return Cluster|bool
|
pfmerge
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function ping(array|string $key_or_address, string|null $message = null) : Cluster|bool|string
{
}
|
Returns PONG if no argument is provided, otherwise return a copy of the argument as a bulk.
@param array|string $key_or_address
@param string|null $message
@return Cluster|bool|string
|
ping
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function psetex(mixed $key, int $milliseconds, mixed $value) : Cluster|bool
{
}
|
Set key to hold the string value and set key to timeout after a given number of milliseconds.
@param mixed $key
@param int $milliseconds
@param mixed $value
@return Cluster|bool
|
psetex
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function psubscribe(array $patterns, callable $callback) : bool
{
}
|
Subscribes to the given patterns.
@param array $patterns
@param callable $callback
@return bool
|
psubscribe
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function pttl(mixed $key) : Cluster|int|false
{
}
|
Returns the remaining time to live of a key that has a timeout in milliseconds.
@param mixed $key
@return Cluster|int|false
|
pttl
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function publish(string $channel, string $message) : Cluster|int|false
{
}
|
Posts a message to the given channel.
@param string $channel
@param string $message
@return Cluster|int|false
|
publish
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function pubsub(array|string $key_or_address, string $operation, mixed ...$args) : mixed
{
}
|
A container command for Pub/Sub introspection commands.
@param array|string $key_or_address
@param string $operation
@param mixed $args,...
@return mixed
|
pubsub
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function punsubscribe(array $patterns = []) : bool
{
}
|
Unsubscribes from the given patterns, or from all of them if none is given.
@param array $patterns
@return bool
|
punsubscribe
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function randomkey(array|string $key_or_address) : Cluster|bool|string
{
}
|
Returns a random key from Redis.
@param array|string $key_or_address
@return Cluster|bool|string
|
randomkey
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function rawCommand(array|string $key_or_address, string $cmd, mixed ...$args) : mixed
{
}
|
Execute any command against Redis, without applying
the prefix, compression and serialization.
@param array|string $key_or_address
@param string $cmd
@param mixed $args,...
@return mixed
|
rawCommand
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function rename(mixed $key, mixed $newkey) : Cluster|bool
{
}
|
Renames key.
@param mixed $key
@param mixed $newkey
@return Cluster|bool
|
rename
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function renamenx(mixed $key, mixed $newkey) : Cluster|bool
{
}
|
Renames key if the new key does not yet exist.
@param mixed $key
@param mixed $newkey
@return Cluster|bool
|
renamenx
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function restore(mixed $key, int $ttl, string $value, array|null $options = null) : Cluster|bool
{
}
|
Create a key associated with a value that is obtained by deserializing the provided serialized value.
@param mixed $key
@param int $ttl
@param string $value
@param array|null $options
@return Cluster|bool
|
restore
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function role(array|string $key_or_address) : Cluster|array|false
{
}
|
Returns the role of the instance in the context of replication.
@param array|string $key_or_address
@return Cluster|array|false
|
role
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function rpop(mixed $key, int $count = 1) : mixed
{
}
|
Removes and returns the last elements of the list stored at key.
@param mixed $key
@param int $count
@return mixed
|
rpop
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function rpoplpush(mixed $srckey, mixed $dstkey) : mixed
{
}
|
Atomically returns and removes the last element (tail) of the list stored at source,
and pushes the element at the first element (head) of the list stored at destination.
@param mixed $srckey
@param mixed $dstkey
@return mixed
|
rpoplpush
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function rpush(mixed $key, mixed $member, mixed ...$members) : Cluster|int|false
{
}
|
Insert all the specified values at the tail of the list stored at key.
@param mixed $key
@param mixed $member
@param mixed $members,...
@return Cluster|int|false
|
rpush
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function rpushx(mixed $key, mixed $member, mixed ...$members) : Cluster|int|false
{
}
|
Inserts specified values at the tail of the list stored at key,
only if key already exists and holds a list.
@param mixed $key
@param mixed $member
@param mixed $members,...
@return Cluster|int|false
|
rpushx
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function sadd(mixed $key, mixed $member, mixed ...$members) : Cluster|int|false
{
}
|
Add the specified members to the set stored at `$key`.
@param mixed $key
@param mixed $member
@param mixed $members,...
@return Cluster|int|false
|
sadd
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function save(array|string $key_or_address) : Cluster|bool
{
}
|
Synchronously save the dataset to disk.
@param array|string $key_or_address
@return Cluster|bool
|
save
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function scan(mixed &$iterator, array|string $key_or_address, mixed $match = null, int $count = 0, string|null $type = null) : array|false
{
}
|
Scan the keyspace for matching keys.
@param mixed $iterator
@param array|string $key_or_address
@param mixed $match
@param int $count
@param string|null $type
@return array|false
|
scan
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function scard(mixed $key) : Cluster|int|false
{
}
|
Returns the set cardinality (number of elements) of the set stored at `$key`.
@param mixed $key
@return Cluster|int|false
|
scard
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function script(array|string $key_or_address, string $operation, string ...$args) : mixed
{
}
|
Execute a script management command.
@param array|string $key_or_address
@param string $operation
@param string $args,...
@return mixed
|
script
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function sdiff(mixed $key, mixed ...$other_keys) : Cluster|array|false
{
}
|
Returns the members of the set resulting from the difference between the first set and all the successive sets.
@param mixed $key
@param mixed $other_keys,...
@return Cluster|array|false
|
sdiff
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function sdiffstore(mixed $key, mixed ...$other_keys) : Cluster|int|false
{
}
|
This command is equal to SDIFF, but instead of returning the resulting set, it is stored in destination.
If destination already exists, it is overwritten.
@param mixed $key
@param mixed $other_keys,...
@return Cluster|int|false
|
sdiffstore
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function set(mixed $key, mixed $value, mixed $options = null) : Cluster|string|bool
{
}
|
Set key to hold the string value. If key already holds
a value, it is overwritten, regardless of its type.
@param mixed $key
@param mixed $value
@param mixed $options
@return Cluster|string|bool
|
set
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local]
public function setOption(int $option, mixed $value) : bool
{
}
|
Sets a client option.
Relay specific options:
- `OPT_ALLOW_PATTERNS`
- `OPT_IGNORE_PATTERNS`
- `OPT_THROW_ON_ERROR`
- `OPT_CLIENT_INVALIDATIONS`
- `OPT_PHPREDIS_COMPATIBILITY`
Supported PhpRedis options:
- `OPT_PREFIX`
- `OPT_READ_TIMEOUT`
- `OPT_COMPRESSION`
- `OPT_COMPRESSION_LEVEL`
- `OPT_MAX_RETRIES`
- `OPT_BACKOFF_ALGORITHM`
- `OPT_BACKOFF_BASE`
- `OPT_BACKOFF_CAP`
- `OPT_SCAN`
- `OPT_REPLY_LITERAL`
- `OPT_NULL_MULTIBULK_AS_NULL`
- `OPT_SLAVE_FAILOVER`
@param int $option
@param mixed $value
@return bool
|
setOption
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function setbit(mixed $key, int $pos, int $value) : Cluster|int|false
{
}
|
Sets or clears the bit at offset in the string value stored at key.
@param mixed $key
@param int $pos
@param int $value
@return Cluster|int|false
|
setbit
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function setex(mixed $key, int $seconds, mixed $value) : Cluster|bool
{
}
|
Set key to hold the string value and set key to timeout after a given number of seconds.
@param mixed $key
@param int $seconds
@param mixed $value
@return Cluster|bool
|
setex
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function setnx(mixed $key, mixed $value) : Cluster|bool
{
}
|
Set key to hold string value if key does not exist. In that case, it is equal to SET.
When key already holds a value, no operation is performed.
SETNX is short for "SET if Not eXists".
@param mixed $key
@param mixed $value
@return Cluster|bool
|
setnx
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function setrange(mixed $key, int $start, mixed $value) : Cluster|int|false
{
}
|
Overwrites part of the string stored at key, starting at
the specified offset, for the entire length of value.
@param mixed $key
@param int $start
@param mixed $value
@return Cluster|int|false
|
setrange
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function sinter(mixed $key, mixed ...$other_keys) : Cluster|array|false
{
}
|
Returns the members of the set resulting from the intersection of all the given sets.
@param mixed $key
@param mixed $other_keys,...
@return Cluster|array|false
|
sinter
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function sinterstore(mixed $key, mixed ...$other_keys) : Cluster|int|false
{
}
|
This command is equal to SINTER, but instead of returning the resulting set, it is stored in destination.
If destination already exists, it is overwritten.
@param mixed $key
@param mixed $other_keys,...
@return Cluster|int|false
|
sinterstore
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function sismember(mixed $key, mixed $member) : Cluster|bool
{
}
|
Returns if `$member` is a member of the set stored at `$key`.
@param mixed $key
@param mixed $member
@return Cluster|bool
|
sismember
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function slowlog(array|string $key_or_address, string $operation, mixed ...$args) : Cluster|array|int|bool
{
}
|
Interact with the Redis slowlog.
@param array|string $key_or_address
@param string $operation
@param mixed $args,...
@return Cluster|array|int|bool
|
slowlog
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function smembers(mixed $key) : Cluster|array|false
{
}
|
Returns all the members of the set value stored at `$key`.
@param mixed $key
@return Cluster|array|false
|
smembers
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function smismember(mixed $key, mixed ...$members) : Cluster|array|false
{
}
|
Returns whether each member is a member of the set stored at `$key`.
@param mixed $key
@param mixed $members,...
@return Cluster|array|false
|
smismember
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function smove(mixed $srckey, mixed $dstkey, mixed $member) : Cluster|bool
{
}
|
Move member from the set at source to the set at destination.
@param mixed $srckey
@param mixed $dstkey
@param mixed $member
@return Cluster|bool
|
smove
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function sort(mixed $key, array $options = []) : Cluster|array|int|false
{
}
|
Sort the elements in a list, set or sorted set.
@param mixed $key
@param array $options
@return Cluster|array|int|false
|
sort
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function sort_ro(mixed $key, array $options = []) : Cluster|array|int|false
{
}
|
Sort the elements in a list, set or sorted set. Read-only variant of SORT.
@param mixed $key
@param array $options
@return Cluster|array|int|false
|
sort_ro
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function spop(mixed $key, int $count = 1) : mixed
{
}
|
Removes and returns one or more random members from the set value store at `$key`.
@param mixed $key
@param int $count
@return mixed
|
spop
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function srandmember(mixed $key, int $count = 1) : mixed
{
}
|
Returns one or multiple random members from a set.
@param mixed $key
@param int $count
@return mixed
|
srandmember
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function srem(mixed $key, mixed $member, mixed ...$members) : Cluster|int|false
{
}
|
Remove the specified members from the set stored at `$key`.
@param mixed $key
@param mixed $member
@param mixed $members,...
@return Cluster|int|false
|
srem
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function sscan(mixed $key, mixed &$iterator, mixed $match = null, int $count = 0) : array|false
{
}
|
Iterates elements of Sets types.
@param mixed $key
@param mixed $iterator
@param mixed $match
@param int $count
@return array|false
|
sscan
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function ssubscribe(array $channels, callable $callback) : bool
{
}
|
Subscribes to the specified shard channels.
@param array $channels
@param callable $callback
@return bool
|
ssubscribe
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function strlen(mixed $key) : Cluster|int|false
{
}
|
Returns the length of the string value stored at `$key`.
@param mixed $key
@return Cluster|int|false
|
strlen
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function subscribe(array $channels, callable $callback) : bool
{
}
|
Subscribes to the specified channels.
@param array $channels
@param callable $callback
@return bool
|
subscribe
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached]
public function sunion(mixed $key, mixed ...$other_keys) : Cluster|array|false
{
}
|
Returns the members of the set resulting from the union of all the given sets.
@param mixed $key
@param mixed $other_keys,...
@return Cluster|array|false
|
sunion
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function sunionstore(mixed $key, mixed ...$other_keys) : Cluster|int|false
{
}
|
This command is equal to SUNION, but instead of returning the resulting set, it is stored in destination.
If destination already exists, it is overwritten.
@param mixed $key
@param mixed $other_keys,...
@return Cluster|int|false
|
sunionstore
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function sunsubscribe(array $channels = []) : bool
{
}
|
Unsubscribes from the given shard channels, or from all of them if none is given.
@param array $channels
@return bool
|
sunsubscribe
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function time(array|string $key_or_address) : Cluster|array|false
{
}
|
Returns the current time from Redis.
@param array|string $key_or_address
@return Cluster|array|false
|
time
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function touch(array|string $key_or_array, mixed ...$more_keys) : Cluster|int|false
{
}
|
Alters the last access time of a key(s).
@param array|string $key_or_array
@param mixed $more_keys,...
@return Cluster|int|false
|
touch
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function ttl(mixed $key) : Cluster|int|false
{
}
|
Returns the remaining time to live of a key that has a timeout in seconds.
@param mixed $key
@return Cluster|int|false
|
ttl
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function type(mixed $key) : Cluster|int|string|bool
{
}
|
Returns the type of a given key.
In PhpRedis compatibility mode this will return an integer
(one of the REDIS_<type>) constants. Otherwise it will
return the string that Redis returns.
@param mixed $key
@return Cluster|int|string|false
|
type
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function unlink(mixed ...$keys) : Cluster|int|false
{
}
|
Removes the specified keys without blocking Redis.
@param mixed $keys,...
@return Cluster|int|false
|
unlink
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function unsubscribe(array $channels = []) : bool
{
}
|
Unsubscribes from the given channels, or from all of them if none is given.
@param array $channels
@return bool
|
unsubscribe
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function unwatch() : Cluster|bool
{
}
|
Flushes all the previously watched keys for a transaction.
If you call EXEC or DISCARD, there's no need to manually call UNWATCH.
@return Cluster|bool
|
unwatch
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function watch(mixed $key, mixed ...$other_keys) : Cluster|bool
{
}
|
Marks the given keys to be watched for conditional execution of a transaction.
@param mixed $key
@param mixed $other_keys,...
@return Cluster|bool
|
watch
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function xack(mixed $key, string $group, array $ids) : Cluster|int|false
{
}
|
Acknowledge one or more IDs as having been processed by the consumer group.
@param mixed $key
@param string $group
@param array $ids
@return Cluster|int|false
|
xack
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function xadd(mixed $key, string $id, array $values, int $maxlen = 0, bool $approx = \false, bool $nomkstream = \false) : Cluster|string|false
{
}
|
Append a message to a stream.
@param string $key
@param string $id
@param int $maxlen
@param bool $approx
@param bool $nomkstream
@return Cluster|string|false
|
xadd
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function xautoclaim(mixed $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = \false) : Cluster|bool|array
{
}
|
Automatically take ownership of stream message(s) by metrics
@param string $key
@param string $group
@param string $consumer
@param int $min_idle
@param string $start
@param int $count
@param bool $justid
@return Cluster|array|bool
|
xautoclaim
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand]
public function xclaim(mixed $key, string $group, string $consumer, int $min_idle, array $ids, array $options) : Cluster|array|bool
{
}
|
Claim ownership of stream message(s).
@param string $key
@param string $group
@param string $consumer
@param int $min_idle
@param array $ids
@param array $options
@return Cluster|array|bool
|
xclaim
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
|
MIT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.