Amp\Redis\Client class Client extends Amp\Redis\Redis

Summary

Properties

Methods

Properties

Methods

__construct — public function __construct(string $uri, array|null $options = null)
No documentation.
Type Parameter Description Default Value
string $uri No documentation. none
array|null $options No documentation. null
transaction — public function transaction(): Amp\Redis\Transaction
No documentation.
close — public function close(): Amp\Redis\Promise
No documentation.
send — protected function send(string[] $args, callable $transform = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string[] $args No documentation. none
callable $transform No documentation. null
getConnectionState — public function getConnectionState()
No documentation.
query — public function query(string|string[] $arg, string ...$args): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $arg No documentation. none
string ... $args No documentation. none
del — public function del(string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $key No documentation. none
string ... $keys No documentation. none
dump — public function dump(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
exists — public function exists(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
expire — public function expire(string $key, int $seconds, bool $inMillis = false): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $seconds No documentation. none
bool $inMillis No documentation. false
expireAt — public function expireAt(string $key, int $timestamp, bool $inMillis = false): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $timestamp No documentation. none
bool $inMillis No documentation. false
keys — public function keys(string $pattern): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $pattern No documentation. none
move — public function move(string $key, int $db): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $db No documentation. none
objectRefcount — public function objectRefcount(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
objectEncoding — public function objectEncoding(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
objectIdletime — public function objectIdletime(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
persist — public function persist(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
randomKey — public function randomKey(): Amp\Redis\Promise
No documentation.
rename — public function rename(string $key, string $replacement, bool $existingOnly = false): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $replacement No documentation. none
bool $existingOnly No documentation. false
restore — public function restore(string $key, string $serializedValue, int $ttlMillis = 0): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $serializedValue No documentation. none
int $ttlMillis No documentation. none
scan — public function scan(string $cursor, string $pattern = null, int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $cursor No documentation. none
string $pattern No documentation. null
int $count No documentation. null
sort — public function sort(string $key, string $pattern = null, string $direction = null, string|string[] $get = null, int $offset = null, int $count = null, bool $alpha = false, string $store = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $pattern No documentation. null
string $direction No documentation. null
string|string[] $get No documentation. null
int $offset No documentation. null
int $count No documentation. null
bool $alpha No documentation. false
string $store No documentation. null
ttl — public function ttl(string $key, bool $millis = false): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
bool $millis No documentation. false
type — public function type(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
append — public function append(string $key, string $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $value No documentation. none
bitCount — public function bitCount(string $key, int|null $start = null, int|null $end = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int|null $start No documentation. null
int|null $end No documentation. null
bitOp — public function bitOp(string $operation, string $destination, string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $operation No documentation. none
string $destination No documentation. none
string|string[] $key No documentation. none
string ... $keys No documentation. none
bitPos — public function bitPos(string $key, int $bit, int $start = null, int $end = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $bit No documentation. none
int $start No documentation. null
int $end No documentation. null
decr — public function decr(string $key, int $decrement = 1): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $decrement No documentation. 1
get — public function get(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
getBit — public function getBit(string $key, int $offset): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $offset No documentation. none
getRange — public function getRange(string $key, int $start = 0, int $end = -1): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $start No documentation. none
int $end No documentation. -1
getSet — public function getSet(string $key, string $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $value No documentation. none
incr — public function incr(string $key, int $increment = 1): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $increment No documentation. 1
incrByFloat — public function incrByFloat(string $key, float $increment): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
float $increment No documentation. none
mGet — public function mGet(string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $key No documentation. none
string ... $keys No documentation. none
mSet — public function mSet(array $data, bool $onlyIfNoneExists = false): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
array $data No documentation. none
bool $onlyIfNoneExists No documentation. false
setNx — public function setNx(string $key, string $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $value No documentation. none
set — public function set(string $key, string $value, int $expire = 0, bool $useMillis = false, string $existOption = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $value No documentation. none
int $expire No documentation. none
bool $useMillis No documentation. false
string $existOption No documentation. null
setXx — public function setXx(string $key, string $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $value No documentation. none
setBit — public function setBit(string $key, int $offset, bool $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $offset No documentation. none
bool $value No documentation. none
setRange — public function setRange($key, $offset, $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
mixed $key No documentation. none
mixed $offset No documentation. none
mixed $value No documentation. none
strlen — public function strlen(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
hDel — public function hDel(string $key, string|string[] $field, string ...$fields): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $field No documentation. none
string ... $fields No documentation. none
hExists — public function hExists(string $key, string $field): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $field No documentation. none
hGet — public function hGet(string $key, string $field): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $field No documentation. none
hGetAll — public function hGetAll(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
hIncrBy — public function hIncrBy(string $key, string $field, int $increment = 1): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $field No documentation. none
int $increment No documentation. 1
hIncrByFloat — public function hIncrByFloat(string $key, string $field, float $increment): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $field No documentation. none
float $increment No documentation. none
hKeys — public function hKeys(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
hLen — public function hLen(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
hmGet — public function hmGet(string $key, string|string[] $field, string ...$fields): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $field No documentation. none
string ... $fields No documentation. none
hmSet — public function hmSet(string $key, array $data): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
array $data No documentation. none
hScan — public function hScan(string $key, string $cursor, string $pattern = null, int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $cursor No documentation. none
string $pattern No documentation. null
int $count No documentation. null
hSet — public function hSet(string $key, string $field, string $value, bool $notExistingOnly = false): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $field No documentation. none
string $value No documentation. none
bool $notExistingOnly No documentation. false
lIndex — public function lIndex(string $key, string $index): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $index No documentation. none
lInsert — public function lInsert(string $key, string $relativePosition, string $pivot, string $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $relativePosition No documentation. none
string $pivot No documentation. none
string $value No documentation. none
lLen — public function lLen(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
blPop — public function blPop(string|string[] $keys, int $timeout = 0): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $keys No documentation. none
int $timeout No documentation. none
brPop — public function brPop(string|string[] $keys, int $timeout = 0): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $keys No documentation. none
int $timeout No documentation. none
brPoplPush — public function brPoplPush(string $source, string $destination, int $timeout = 0): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $source No documentation. none
string $destination No documentation. none
int $timeout No documentation. none
lPop — public function lPop(string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $key No documentation. none
string ... $keys No documentation. none
lPush — public function lPush(string $key, string|string[] $value, string ...$values): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $value No documentation. none
string ... $values No documentation. none
lPushX — public function lPushX(string $key, string|string[] $value, string ...$values): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $value No documentation. none
string ... $values No documentation. none
lRange — public function lRange(string $key, int $start = 0, int $end = -1): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $start No documentation. none
int $end No documentation. -1
lRem — public function lRem(string $key, string $value, int $count = 0): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $value No documentation. none
int $count No documentation. none
lSet — public function lSet(string $key, int $index, string $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $index No documentation. none
string $value No documentation. none
lTrim — public function lTrim(string $key, int $start = 0, int $stop = -1): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $start No documentation. none
int $stop No documentation. -1
rPop — public function rPop(string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $key No documentation. none
string ... $keys No documentation. none
rPoplPush — public function rPoplPush(string $source, string $destination): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $source No documentation. none
string $destination No documentation. none
rPush — public function rPush(string $key, string|string[] $value, string ...$values): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $value No documentation. none
string ... $values No documentation. none
rPushX — public function rPushX(string $key, string|string[] $value, string ...$values): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $value No documentation. none
string ... $values No documentation. none
sAdd — public function sAdd(string $key, string|string[] $member, string ...$members): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $member No documentation. none
string ... $members No documentation. none
sCard — public function sCard(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
sDiff — public function sDiff(string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $key No documentation. none
string ... $keys No documentation. none
sDiffStore — public function sDiffStore(string $destination, string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $destination No documentation. none
string|string[] $key No documentation. none
string ... $keys No documentation. none
sInter — public function sInter(string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $key No documentation. none
string ... $keys No documentation. none
sInterStore — public function sInterStore(string $destination, string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $destination No documentation. none
string|string[] $key No documentation. none
string ... $keys No documentation. none
sIsMember — public function sIsMember(string $key, string $member): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $member No documentation. none
sMembers — public function sMembers(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
sMove — public function sMove(string $source, string $destination, string $member): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $source No documentation. none
string $destination No documentation. none
string $member No documentation. none
sPop — public function sPop(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
sRandMember — public function sRandMember(string $key, int $count = null, bool $distinctOnly = true): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $count No documentation. null
bool $distinctOnly No documentation. true
sRem — public function sRem(string $key, string|string[] $member, string ...$members): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $member No documentation. none
string ... $members No documentation. none
sScan — public function sScan(string $key, string $cursor, string $pattern = null, int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $cursor No documentation. none
string $pattern No documentation. null
int $count No documentation. null
sUnion — public function sUnion(string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $key No documentation. none
string ... $keys No documentation. none
sUnionStore — public function sUnionStore(string $destination, string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $destination No documentation. none
string|string[] $key No documentation. none
string ... $keys No documentation. none
zAdd — public function zAdd(string $key, array $data): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
array $data No documentation. none
zCard — public function zCard(string $key): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
zCount — public function zCount(string $key, int $min, int $max): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $min No documentation. none
int $max No documentation. none
zIncrBy — public function zIncrBy(string $key, string $member, int|float $increment = 1): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $member No documentation. none
int|float $increment No documentation. 1
zInterStore — public function zInterStore(string $destination, int $numkeys, string|string[] $keys, string $aggregate = "sum"): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $destination No documentation. none
int $numkeys No documentation. none
string|string[] $keys No documentation. none
string $aggregate No documentation. "sum"
zLexCount — public function zLexCount(string $key, string $min, string $max): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $min No documentation. none
string $max No documentation. none
zRange — public function zRange(string $key, int $start = 0, int $stop = -1, bool $withScores = false): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $start No documentation. none
int $stop No documentation. -1
bool $withScores No documentation. false
zRangeByLex — public function zRangeByLex(string $key, string $min, string $max, int $offset = null, int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $min No documentation. none
string $max No documentation. none
int $offset No documentation. null
int $count No documentation. null
zRangeByScore — public function zRangeByScore(string $key, string|int $min = 0, string|int $max = -1, bool $withScores = false, int $offset = null, int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|int $min No documentation. none
string|int $max No documentation. -1
bool $withScores No documentation. false
int $offset No documentation. null
int $count No documentation. null
zRank — public function zRank(string $key, string $member): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $member No documentation. none
zRem — public function zRem(string $key, string|string[] $member, string ...$members): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $member No documentation. none
string ... $members No documentation. none
zRemRangeByLex — public function zRemRangeByLex(string $key, string $min, string $max): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $min No documentation. none
string $max No documentation. none
zRemRangeByRank — public function zRemRangeByRank(string $key, int $start, int $stop): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $start No documentation. none
int $stop No documentation. none
zRemRangeByScore — public function zRemRangeByScore(string $key, int $min, int $max): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $min No documentation. none
int $max No documentation. none
zRevRange — public function zRevRange(string $key, int $start = 0, int $stop = -1, bool $withScores = false): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
int $start No documentation. none
int $stop No documentation. -1
bool $withScores No documentation. false
zRevRangeByLex — public function zRevRangeByLex(string $key, string $min, string $max, int $offset = null, int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $min No documentation. none
string $max No documentation. none
int $offset No documentation. null
int $count No documentation. null
zRevRangeByScore — public function zRevRangeByScore(string $key, string|int $min = 0, string|int $max = -1, bool $withScores = false, int $offset = null, int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|int $min No documentation. none
string|int $max No documentation. -1
bool $withScores No documentation. false
int $offset No documentation. null
int $count No documentation. null
zRevRank — public function zRevRank(string $key, string $member): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $member No documentation. none
zScan — public function zScan(string $key, string $cursor, string $pattern = null, int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $cursor No documentation. none
string $pattern No documentation. null
int $count No documentation. null
zScore — public function zScore(string $key, string $member): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string $member No documentation. none
zUnionStore — public function zUnionStore(string $destination, int $numkeys, string|string[] $keys, string $aggregate = "sum"): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $destination No documentation. none
int $numkeys No documentation. none
string|string[] $keys No documentation. none
string $aggregate No documentation. "sum"
pfAdd — public function pfAdd(string $key, string|string[] $element, string ...$elements): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $key No documentation. none
string|string[] $element No documentation. none
string ... $elements No documentation. none
pfCount — public function pfCount(string|string[] $key, string ...$keys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $key No documentation. none
string ... $keys No documentation. none
pfMerge — public function pfMerge(string $destinationKey, string|string[] $sourceKey, string ...$sourceKeys): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $destinationKey No documentation. none
string|string[] $sourceKey No documentation. none
string ... $sourceKeys No documentation. none
publish — public function publish(string $channel, string $message): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $channel No documentation. none
string $message No documentation. none
pubSubChannels — public function pubSubChannels(string $pattern = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $pattern No documentation. null
pubSubNumSub — public function pubSubNumSub(string|string[] $channel = [], string ...$channels): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $channel No documentation. []
string ... $channels No documentation. none
pubSubNumPat — public function pubSubNumPat(): Amp\Redis\Promise
No documentation.
ping — public function ping(): Amp\Redis\Promise
No documentation.
quit — public function quit(): Amp\Redis\Promise
No documentation.
bgRewriteAOF — public function bgRewriteAOF(): Amp\Redis\Promise
No documentation.
bgSave — public function bgSave(): Amp\Redis\Promise
No documentation.
clientGetName — public function clientGetName(): Amp\Redis\Promise
No documentation.
clientKill — public function clientKill(string ...$args): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string ... $args No documentation. none
clientList — public function clientList(): Amp\Redis\Promise
No documentation.
clientPause — public function clientPause(int $timeout): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
int $timeout No documentation. none
clientSetName — public function clientSetName(string $name): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $name No documentation. none
clusterSlots — public function clusterSlots(): Amp\Redis\Promise
No documentation.
command — public function command(): Amp\Redis\Promise
No documentation.
commandCount — public function commandCount(): Amp\Redis\Promise
No documentation.
commandGetKeys — public function commandGetKeys(string ...$args): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string ... $args No documentation. none
commandInfo — public function commandInfo(string|string[] $command, string ...$commands): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $command No documentation. none
string ... $commands No documentation. none
configGet — public function configGet(string $parameter): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $parameter No documentation. none
configResetStat — public function configResetStat(): Amp\Redis\Promise
No documentation.
configRewrite — public function configRewrite(): Amp\Redis\Promise
No documentation.
configSet — public function configSet(string $parameter, string $value): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $parameter No documentation. none
string $value No documentation. none
dbSize — public function dbSize(): Amp\Redis\Promise
No documentation.
flushAll — public function flushAll(): Amp\Redis\Promise
No documentation.
flushDB — public function flushDB(): Amp\Redis\Promise
No documentation.
info — public function info(): Amp\Redis\Promise
No documentation.
lastSave — public function lastSave(): Amp\Redis\Promise
No documentation.
role — public function role(): Amp\Redis\Promise
No documentation.
save — public function save(): Amp\Redis\Promise
No documentation.
shutdown — public function shutdown(string $modifier = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $modifier No documentation. null
slaveOf — public function slaveOf($host, $port = null)
No documentation.
Type Parameter Description Default Value
mixed $host No documentation. none
mixed $port No documentation. null
slowlogGet — public function slowlogGet(int $count = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
int $count No documentation. null
slowlogLen — public function slowlogLen(): Amp\Redis\Promise
No documentation.
slowlogReset — public function slowlogReset(): Amp\Redis\Promise
No documentation.
time — public function time(): Amp\Redis\Promise
No documentation.
evalSha — public function evalSha(string $sha1, string|string[] $keys = [], string|string[] $args = []): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $sha1 No documentation. none
string|string[] $keys No documentation. []
string|string[] $args No documentation. []
scriptExists — public function scriptExists(string|string[] $script, string ...$scripts): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $script No documentation. none
string ... $scripts No documentation. none
scriptFlush — public function scriptFlush(): Amp\Redis\Promise
No documentation.
scriptKill — public function scriptKill(): Amp\Redis\Promise
No documentation.
scriptLoad — public function scriptLoad(string $script): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $script No documentation. none
__call — public function __call($method, $args)
No documentation.
Type Parameter Description Default Value
mixed $method No documentation. none
mixed $args No documentation. none