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 incr(mixed $key, int $by = 1) : Relay|int|false { }
Increments the number stored at key by one. @param mixed $key @param int $by @return Relay|int|false
incr
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function decr(mixed $key, int $by = 1) : Relay|int|false { }
Decrements the number stored at key by one. @param mixed $key @param int $by @return Relay|int|false
decr
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function incrby(mixed $key, int $value) : Relay|int|false { }
Increments the number stored at key by increment. @param mixed $key @param int $value @return Relay|int|false
incrby
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function decrby(mixed $key, int $value) : Relay|int|false { }
Decrements the number stored at key by decrement. @param mixed $key @param int $value @return Relay|int|false
decrby
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function incrbyfloat(mixed $key, float $value) : Relay|float|false { }
Increment the string representing a floating point number stored at key by the specified increment. @param mixed $key @param float $value @return Relay|float|false
incrbyfloat
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function sdiff(mixed $key, mixed ...$other_keys) : Relay|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 Relay|array|false
sdiff
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function sdiffstore(mixed $key, mixed ...$other_keys) : Relay|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 Relay|int|false
sdiffstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function sinter(mixed $key, mixed ...$other_keys) : Relay|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 Relay|array|false
sinter
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function sinterstore(mixed $key, mixed ...$other_keys) : Relay|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 Relay|int|false
sinterstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function sunion(mixed $key, mixed ...$other_keys) : Relay|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 Relay|array|false
sunion
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function sunionstore(mixed $key, mixed ...$other_keys) : Relay|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 Relay|int|false
sunionstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.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/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.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/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.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/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.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/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.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/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.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/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function touch(array|string $key_or_array, mixed ...$more_keys) : Relay|int|false { }
Alters the last access time of a key(s). @param array|string $key_or_array @param mixed $more_keys,... @return Relay|int|false
touch
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function multi(int $mode = 0) : Relay|bool { }
Marks the start of a transaction block. Subsequent commands will be queued for atomic execution using EXEC. Accepts `Relay::MULTI` and `Relay::PIPELINE` modes. @param int $mode @return Relay|bool
multi
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function exec() : Relay|array|bool { }
Executes all previously queued commands in a transaction and restores the connection state to normal. @return Relay|array|bool
exec
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function wait(int $replicas, $timeout) : Relay|int|false { }
Wait for the synchronous replication of all the write commands sent in the context of the current connection. @param int $replicas @param int $timeout @return Relay|int|false
wait
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function watch(mixed $key, mixed ...$other_keys) : Relay|bool { }
Marks the given keys to be watched for conditional execution of a transaction. @param mixed $key @param mixed $other_keys,... @return Relay|bool
watch
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function unwatch() : Relay|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 Relay|bool
unwatch
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function discard() : bool { }
Flushes all previously queued commands in a transaction and restores the connection state to normal. If WATCH was used, DISCARD unwatches all keys watched by the connection. @return bool
discard
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getMode(bool $masked = \false) : int { }
Get the mode Relay is currently in. `Relay::ATOMIC`, `Relay::PIPELINE` or `Relay::MULTI`. @param bool $masked @return int
getMode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function clearBytes() : void { }
Clear the accumulated sent and received bytes. @return void
clearBytes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function scan(mixed &$iterator, mixed $match = null, int $count = 0, ?string $type = null) : array|false { }
Scan the keyspace for matching keys. @param mixed $iterator @param mixed $match @param int $count @param string|null $type @return array|false
scan
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.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/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.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/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zscan(mixed $key, mixed &$iterator, mixed $match = null, int $count = 0) : array|false { }
Iterates elements of Sorted Set types and their associated scores. @param mixed $key @param mixed $iterator @param mixed $match @param int $count @return array|false
zscan
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function keys(mixed $pattern) : Relay|array|false { }
Returns all keys matching pattern. @param mixed $pattern @return Relay|array|false
keys
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function slowlog(string $operation, string ...$extra_args) : Relay|array|int|bool { }
Interact with the Redis slowlog. @param string $operation @param string $extra_args,... @return Relay|array|int|bool
slowlog
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function smembers(mixed $set) : Relay|array|false { }
Returns all the members of the set value stored at `$key`. @param mixed $set @return Relay|array|false
smembers
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function sismember(mixed $set, mixed $member) : Relay|bool { }
Returns if `$member` is a member of the set stored at `$key`. @param mixed $set @param mixed $member @return Relay|bool
sismember
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function smismember(mixed $set, mixed ...$members) : Relay|array|false { }
Returns whether each member is a member of the set stored at `$key`. @param mixed $set @param mixed $members,... @return Relay|array|false
smismember
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function srem(mixed $set, mixed $member, mixed ...$members) : Relay|int|false { }
Remove the specified members from the set stored at `$key`. @param mixed $set @param mixed $member @param mixed $members,... @return Relay|int|false
srem
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function sadd(mixed $set, mixed $member, mixed ...$members) : Relay|int|false { }
Add the specified members to the set stored at `$key`. @param mixed $set @param mixed $member @param mixed $members,... @return Relay|int|false
sadd
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function sort(mixed $key, array $options = []) : Relay|array|int|false { }
Sort the elements in a list, set or sorted set. @param mixed $key @param array $options @return Relay|array|int|false
sort
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function sort_ro(mixed $key, array $options = []) : Relay|array|false { }
Sort the elements in a list, set or sorted set. Read-only variant of SORT. @param mixed $key @param array $options @return Relay|array|false
sort_ro
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function smove(mixed $srcset, mixed $dstset, mixed $member) : Relay|bool { }
Move member from the set at source to the set at destination. @param mixed $srcset @param mixed $dstset @param mixed $member @return Relay|bool
smove
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function spop(mixed $set, int $count = 1) : mixed { }
Removes and returns one or more random members from the set value store at `$key`. @param mixed $set @param int $count @return mixed
spop
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function srandmember(mixed $set, int $count = 1) : mixed { }
Returns one or multiple random members from a set. @param mixed $set @param int $count @return mixed
srandmember
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function scard(mixed $key) : Relay|int|false { }
Returns the set cardinality (number of elements) of the set stored at `$key`. @param mixed $key @return Relay|int|false
scard
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function script(string $command, string ...$args) : mixed { }
Execute a script management command. @param string $command @param string $args,... @return mixed
script
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function strlen(mixed $key) : Relay|int|false { }
Returns the length of the string value stored at `$key`. @param mixed $key @return Relay|int|false
strlen
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function hlen(mixed $key) : Relay|int|false { }
Returns the number of fields contained in the hash stored at `$key`. @param mixed $key @return Relay|int|false
hlen
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function llen(mixed $key) : Relay|int|false { }
Returns the length of the list stored at `$key`. @param mixed $key @return Relay|int|false
llen
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xack(mixed $key, string $group, array $ids) : Relay|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 Relay|int|false
xack
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options) : Relay|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 Relay|array|bool
xclaim
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = \false) : Relay|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 Relay|array|bool
xautoclaim
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xlen(string $key) : Relay|int|false { }
Get the length of a stream. @param string $key @return Relay|int|false
xlen
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xgroup(string $operation, mixed $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = \false, int $entries_read = -2) : mixed { }
Perform utility operations having to do with consumer groups @param string $operation @param mixed $key @param string $group @param string $id_or_consumer @param bool $mkstream @param int $entries_read @return mixed
xgroup
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xdel(string $key, array $ids) : Relay|int|false { }
Remove one or more specific IDs from a stream. @param string $key @param array $ids @return Relay|int|false
xdel
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xinfo(string $operation, ?string $arg1 = null, ?string $arg2 = null, int $count = -1) : mixed { }
Retrieve information about a stream key. @param string $operation @param string|null $arg1 @param string|null $arg2 @param int $count @return mixed
xinfo
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xpending(string $key, string $group, ?string $start = null, ?string $end = null, int $count = -1, ?string $consumer = null, int $idle = 0) : Relay|array|false { }
Query pending entries in a stream. @param string $key @param string $group @param string|null $start @param string|null $end @param int $count @param string|null $consumer @param int $idle @return Relay|array|false
xpending
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xrange(mixed $key, string $start, string $end, int $count = -1) : Relay|array|false { }
Lists elements in a stream. @param mixed $key @param string $start @param string $end @param int $count = -1 @return Relay|array|false
xrange
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xrevrange(string $key, string $end, string $start, int $count = -1) : Relay|array|bool { }
Get a range of entries from a STREAM ke in reverse chronological order. @param string $key @param string $end @param string $start @param int $count @return Relay|array|bool
xrevrange
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xread(array $streams, int $count = -1, int $block = -1) : Relay|array|bool|null { }
Read messages from a stream. @param array $streams @param int $count @param int $block @return Relay|array|bool|null
xread
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1) : Relay|array|bool|null { }
Read messages from a stream using a consumer group. @param string $group @param string $consumer @param array $streams @param int $count @param int $block @return Relay|array|bool|null
xreadgroup
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zadd(mixed $key, mixed ...$args) : mixed { }
Adds all the specified members with the specified scores to the sorted set stored at key. @param mixed $key @param mixed $args,... @return mixed
zadd
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrandmember(mixed $key, ?array $options = null) : mixed { }
When called with just the key argument, return a random element from the sorted set value stored at key. If the provided count argument is positive, return an array of distinct elements. @param mixed $key @param array|null $options @return mixed
zrandmember
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrange(mixed $key, string $start, string $end, mixed $options = null) : Relay|array|false { }
Returns the specified range of elements in the sorted set stored at key. @param mixed $key @param string $start @param string $end @param mixed $options @return Relay|array|false
zrange
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrevrange(mixed $key, int $start, int $end, mixed $options = null) : Relay|array|false { }
Returns the specified range of elements in the sorted set stored at key. @param mixed $key @param int $start @param int $end @param mixed $options @return Relay|array|false
zrevrange
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrangebyscore(mixed $key, mixed $start, mixed $end, mixed $options = null) : Relay|array|false { }
Returns all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max). @param mixed $key @param mixed $start @param mixed $end @param mixed $options @return Relay|array|false
zrangebyscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrevrangebyscore(mixed $key, mixed $start, mixed $end, mixed $options = null) : Relay|array|false { }
Returns all the elements in the sorted set at key with a score between max and min (including elements with score equal to max or min). @param mixed $key @param mixed $start @param mixed $end @param mixed $options @return Relay|array|false
zrevrangebyscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrangestore(mixed $dst, mixed $src, mixed $start, mixed $end, mixed $options = null) : Relay|int|false { }
Returns all the elements in the sorted set at key with a score between max and min (including elements with score equal to max or min). @param mixed $dst @param mixed $src @param mixed $start @param mixed $end @param mixed $options @return Relay|int|false
zrangestore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrangebylex(mixed $key, mixed $min, mixed $max, int $offset = -1, int $count = -1) : Relay|array|false { }
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command returns all the elements in the sorted set at key with a value between min and max. @param mixed $key @param mixed $min @param mixed $max @param int $offset @param int $count @return Relay|array|false
zrangebylex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrevrangebylex(mixed $key, mixed $max, mixed $min, int $offset = -1, int $count = -1) : Relay|array|false { }
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command returns all the elements in the sorted set at key with a value between max and min. @param mixed $key @param mixed $max @param mixed $min @param int $offset @param int $count @return Relay|array|false
zrevrangebylex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrank(mixed $key, mixed $rank, bool $withscore = \false) : Relay|array|int|false { }
Returns the rank of member in the sorted set stored at key, with the scores ordered from low to high. The rank (or index) is 0-based, which means that the member with the lowest score has rank 0. @param mixed $key @param mixed $rank @param bool $withscore @return Relay|array|int|false
zrank
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrevrank(mixed $key, mixed $rank, bool $withscore = \false) : Relay|array|int|false { }
Returns the rank of member in the sorted set stored at key, with the scores ordered from high to low. The rank (or index) is 0-based, which means that the member with the highest score has rank 0. @param mixed $key @param mixed $rank @param bool $withscore @return Relay|array|int|false
zrevrank
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrem(mixed $key, mixed ...$args) : Relay|int|false { }
Removes the specified members from the sorted set stored at key. Non existing members are ignored. @param mixed $key @param mixed $args,... @return Relay|int|false
zrem
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zremrangebylex(mixed $key, mixed $min, mixed $max) : Relay|int|false { }
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command removes all elements in the sorted set stored at key between the lexicographical range specified by min and max. @param mixed $key @param mixed $min @param mixed $max @return Relay|int|false
zremrangebylex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zremrangebyrank(mixed $key, int $start, int $end) : Relay|int|false { }
Removes all elements in the sorted set stored at key with rank between start and stop. Both start and stop are 0 -based indexes with 0 being the element with the lowest score. @param mixed $key @param int $start @param int $end @return Relay|int|false
zremrangebyrank
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zremrangebyscore(mixed $key, mixed $min, mixed $max) : Relay|int|false { }
Removes all elements in the sorted set stored at key with a score between min and max (inclusive). @param mixed $key @param mixed $min @param mixed $max @return Relay|int|false
zremrangebyscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function zcard(mixed $key) : Relay|int|false { }
Returns the sorted set cardinality (number of elements) of the sorted set stored at key. @param mixed $key @return Relay|int|false
zcard
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zcount(mixed $key, mixed $min, mixed $max) : Relay|int|false { }
Returns the number of elements in the sorted set at key with a score between min and max. @param mixed $key @param mixed $min @param mixed $max @return Relay|int|false
zcount
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zdiff(array $keys, ?array $options = null) : Relay|array|false { }
This command is similar to ZDIFFSTORE, but instead of storing the resulting sorted set, it is returned to the client. @param array $keys @param array $options @return Relay|array|false
zdiff
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zdiffstore(mixed $dst, array $keys) : Relay|int|false { }
Computes the difference between the first and all successive input sorted sets and stores the result in destination. @param mixed $dst @param array $keys @return Relay|int|false
zdiffstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zincrby(mixed $key, float $score, mixed $mem) : Relay|float|false { }
Increments the score of member in the sorted set stored at key by increment. @param mixed $key @param float $score @param mixed $mem @return Relay|float|false
zincrby
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zlexcount(mixed $key, mixed $min, mixed $max) : Relay|int|false { }
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command returns the number of elements in the sorted set at key with a value between min and max. @param mixed $key @param mixed $min @param mixed $max @return Relay|int|false
zlexcount
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zmscore(mixed $key, mixed ...$mems) : Relay|array|false { }
Returns the scores associated with the specified members in the sorted set stored at key. @param mixed $key @param mixed $mems,... @return Relay|array|false
zmscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zscore(mixed $key, mixed $member) : Relay|float|false { }
Returns the score of member in the sorted set at key. @param mixed $key @param mixed $member @return Relay|float|false
zscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zinter(array $keys, ?array $weights = null, mixed $options = null) : Relay|array|false { }
This command is similar to ZINTERSTORE, but instead of storing the resulting sorted set, it is returned to the client. @param array $keys @param array $weights @param mixed $options @return Relay|array|false
zinter
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zinterstore(mixed $dst, array $keys, ?array $weights = null, mixed $options = null) : Relay|int|false { }
Computes the intersection of numkeys sorted sets given by the specified keys, and stores the result in destination. @param mixed $dst @param array $keys @param array $weights @param mixed $options @return Relay|int|false
zinterstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zunion(array $keys, ?array $weights = null, mixed $options = null) : Relay|array|false { }
This command is similar to ZUNIONSTORE, but instead of storing the resulting sorted set, it is returned to the client. @param array $keys @param array $weights @param mixed $options @return Relay|array|false
zunion
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zunionstore(mixed $dst, array $keys, ?array $weights = null, mixed $options = null) : Relay|int|false { }
Computes the union of numkeys sorted sets given by the specified keys, and stores the result in destination. @param mixed $dst @param array $keys @param array $weights @param mixed $options @return Relay|int|false
zunionstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zpopmin(mixed $key, int $count = 1) : Relay|array|false { }
Removes and returns up to count members with the lowest scores in the sorted set stored at key. @param mixed $key @param int $count @return Relay|array|false
zpopmin
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zpopmax(mixed $key, int $count = 1) : Relay|array|false { }
Removes and returns up to count members with the highest scores in the sorted set stored at key. @param mixed $key @param int $count @return Relay|array|false
zpopmax
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function _getKeys() { }
Returns keys cached in runtime memory. @internal Temporary debug helper. Do not use. @return mixed
_getKeys
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Server] public function __construct(array|string|null $host = null, int $port = 26379, float $timeout = 0, mixed $persistent = null, int $retry_interval = 0, float $read_timeout = 0, #[\SensitiveParameter] mixed $auth = null) { }
Establishes a new connection to a Sentinel instance. For backwards compatibility with PhpRedis 6.x, the constructor may be called with a single options array. @param array|string|null $host @param int $port @param float $timeout @param mixed $persistent @param int $retry_interval @param float $read_timeout @param mixed $auth
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function ckquorum(string $master) : bool { }
Check if the current Sentinel configuration is able to reach the quorum needed to failover a master, and the majority needed to authorize the failover. @param string $master @return bool
ckquorum
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function failover(string $master) : bool { }
Force a failover as if the master was not reachable, and without asking for agreement to other Sentinels. @param string $master @return bool
failover
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function flushconfig() : bool { }
Force Sentinel to rewrite its configuration on disk, including the current Sentinel state. @return bool
flushconfig
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function getMasterAddrByName(string $master) : array|false { }
Returns the ip and port number of the master with that name. @param string $master @return array|false
getMasterAddrByName
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function master(string $master) : array|false { }
Returns the state and info of the specified master. @param string $master @return array|false
master
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function masters() : array|false { }
Returns a list of monitored masters and their state. @return array|false
masters
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function myid() : string { }
Returns the ID of the Sentinel instance. @return string
myid
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function ping(?string $message = null) : string|bool { }
Returns PONG if no message is provided, otherwise returns the message. @param string|null $message @return string|bool
ping
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function reset(string $pattern) : int { }
Will reset all the masters with matching name. @param string $pattern @return int
reset
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function sentinels(string $master) : array|false { }
Returns a list of sentinel instances for this master, and their state. @param string $master @return array|false
sentinels
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Sentinel.php
MIT