Async-Redis
view release on metacpan or search on metacpan
script/commands.json view on Meta::CPAN
"type": "string",
"display_text": "value"
}
],
"command_flags": [
"write",
"denyoom",
"fast"
]
},
"ASKING": {
"summary": "Signals that a cluster client is following an -ASK redirect.",
"since": "3.0.0",
"group": "cluster",
"complexity": "O(1)",
"acl_categories": [
"@fast",
"@connection"
],
"arity": 1,
"command_flags": [
"fast"
]
},
"AUTH": {
"summary": "Authenticates the connection.",
"since": "1.0.0",
"group": "connection",
"complexity": "O(N) where N is the number of passwords defined for the user",
"history": [
[
"6.0.0",
"Added ACL style (username and password)."
]
],
"acl_categories": [
"@fast",
"@connection"
],
"arity": -2,
"arguments": [
{
"name": "username",
"type": "string",
"display_text": "username",
"since": "6.0.0",
"optional": true
},
{
"name": "password",
"type": "string",
"display_text": "password"
}
],
"command_flags": [
"noscript",
"loading",
"stale",
"fast",
"no_auth",
"allow_busy"
]
},
"BGREWRITEAOF": {
"summary": "Asynchronously rewrites the append-only file to disk.",
"since": "1.0.0",
"group": "server",
"complexity": "O(1)",
"acl_categories": [
"@admin",
"@slow",
"@dangerous"
],
"arity": 1,
"command_flags": [
"admin",
"noscript",
"no_async_loading"
]
},
"BGSAVE": {
"summary": "Asynchronously saves the database(s) to disk.",
"since": "1.0.0",
"group": "server",
"complexity": "O(1)",
"history": [
[
"3.2.2",
"Added the `SCHEDULE` option."
]
],
"acl_categories": [
"@admin",
"@slow",
"@dangerous"
],
"arity": -1,
"arguments": [
{
"name": "schedule",
"type": "pure-token",
"display_text": "schedule",
"token": "SCHEDULE",
"since": "3.2.2",
"optional": true
}
],
"command_flags": [
"admin",
"noscript",
"no_async_loading"
]
},
"BITCOUNT": {
"summary": "Counts the number of set bits (population counting) in a string.",
"since": "2.6.0",
"group": "bitmap",
"complexity": "O(N)",
"history": [
[
"7.0.0",
script/commands.json view on Meta::CPAN
"group": "generic",
"complexity": "O(N) where N is the number of keys that will be removed. When a key to remove holds a value other than a string, the individual complexity for this key is O(M) where M is the number of elements in the list, set, sorted set or h...
"acl_categories": [
"@keyspace",
"@write",
"@slow"
],
"arity": -2,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": -1,
"keystep": 1,
"limit": 0
}
},
"RM": true,
"delete": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0,
"multiple": true
}
],
"command_flags": [
"write"
],
"hints": [
"request_policy:multi_shard",
"response_policy:agg_sum"
]
},
"DISCARD": {
"summary": "Discards a transaction.",
"since": "2.0.0",
"group": "transactions",
"complexity": "O(N), when N is the number of queued commands",
"acl_categories": [
"@fast",
"@transaction"
],
"arity": 1,
"command_flags": [
"noscript",
"loading",
"stale",
"fast",
"allow_busy"
]
},
"DUMP": {
"summary": "Returns a serialized representation of the value stored at a key.",
"since": "2.6.0",
"group": "generic",
"complexity": "O(1) to access the key and additional O(N*M) to serialize it, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small...
"acl_categories": [
"@keyspace",
"@read",
"@slow"
],
"arity": 2,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": 0,
"keystep": 1,
"limit": 0
}
},
"RO": true,
"access": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0
}
],
"command_flags": [
"readonly"
],
"hints": [
"nondeterministic_output"
]
},
"ECHO": {
"summary": "Returns the given string.",
"since": "1.0.0",
"group": "connection",
"complexity": "O(1)",
"acl_categories": [
"@fast",
"@connection"
],
"arity": 2,
"arguments": [
{
script/commands.json view on Meta::CPAN
"@scripting"
],
"arity": -2,
"arguments": [
{
"name": "flush-type",
"type": "oneof",
"optional": true,
"arguments": [
{
"name": "async",
"type": "pure-token",
"display_text": "async",
"token": "ASYNC"
},
{
"name": "sync",
"type": "pure-token",
"display_text": "sync",
"token": "SYNC"
}
]
}
],
"command_flags": [
"write",
"noscript"
],
"hints": [
"request_policy:all_shards",
"response_policy:all_succeeded"
]
},
"FUNCTION HELP": {
"summary": "Returns helpful text about the different subcommands.",
"since": "7.0.0",
"group": "scripting",
"complexity": "O(1)",
"acl_categories": [
"@slow",
"@scripting"
],
"arity": 2,
"command_flags": [
"loading",
"stale"
]
},
"FUNCTION KILL": {
"summary": "Terminates a function during execution.",
"since": "7.0.0",
"group": "scripting",
"complexity": "O(1)",
"acl_categories": [
"@slow",
"@scripting"
],
"arity": 2,
"command_flags": [
"noscript",
"allow_busy"
],
"hints": [
"request_policy:all_shards",
"response_policy:one_succeeded"
]
},
"FUNCTION LIST": {
"summary": "Returns information about all libraries.",
"since": "7.0.0",
"group": "scripting",
"complexity": "O(N) where N is the number of functions",
"acl_categories": [
"@slow",
"@scripting"
],
"arity": -2,
"arguments": [
{
"name": "library-name-pattern",
"type": "string",
"display_text": "library-name-pattern",
"token": "LIBRARYNAME",
"optional": true
},
{
"name": "withcode",
"type": "pure-token",
"display_text": "withcode",
"token": "WITHCODE",
"optional": true
}
],
"command_flags": [
"noscript"
],
"hints": [
"nondeterministic_output_order"
]
},
"FUNCTION LOAD": {
"summary": "Creates a library.",
"since": "7.0.0",
"group": "scripting",
"complexity": "O(1) (considering compilation time is redundant)",
"acl_categories": [
"@write",
"@slow",
"@scripting"
],
"arity": -3,
"arguments": [
{
"name": "replace",
"type": "pure-token",
"display_text": "replace",
"token": "REPLACE",
"optional": true
},
{
"name": "function-code",
script/commands.json view on Meta::CPAN
"acl_categories": [
"@write",
"@slow",
"@scripting"
],
"arity": -3,
"arguments": [
{
"name": "serialized-value",
"type": "string",
"display_text": "serialized-value"
},
{
"name": "policy",
"type": "oneof",
"optional": true,
"arguments": [
{
"name": "flush",
"type": "pure-token",
"display_text": "flush",
"token": "FLUSH"
},
{
"name": "append",
"type": "pure-token",
"display_text": "append",
"token": "APPEND"
},
{
"name": "replace",
"type": "pure-token",
"display_text": "replace",
"token": "REPLACE"
}
]
}
],
"command_flags": [
"write",
"denyoom",
"noscript"
],
"hints": [
"request_policy:all_shards",
"response_policy:all_succeeded"
]
},
"FUNCTION STATS": {
"summary": "Returns information about a function during execution.",
"since": "7.0.0",
"group": "scripting",
"complexity": "O(1)",
"acl_categories": [
"@slow",
"@scripting"
],
"arity": 2,
"command_flags": [
"noscript",
"allow_busy"
],
"hints": [
"nondeterministic_output",
"request_policy:all_shards",
"response_policy:special"
]
},
"GEOADD": {
"summary": "Adds one or more members to a geospatial index. The key is created if it doesn't exist.",
"since": "3.2.0",
"group": "geo",
"complexity": "O(log(N)) for each item added, where N is the number of elements in the sorted set.",
"history": [
[
"6.2.0",
"Added the `CH`, `NX` and `XX` options."
]
],
"acl_categories": [
"@write",
"@geo",
"@slow"
],
"arity": -5,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": 0,
"keystep": 1,
"limit": 0
}
},
"RW": true,
"update": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0
},
{
"name": "condition",
"type": "oneof",
"since": "6.2.0",
"optional": true,
"arguments": [
{
"name": "nx",
"type": "pure-token",
script/commands.json view on Meta::CPAN
"summary": "Handshakes with the Redis server.",
"since": "6.0.0",
"group": "connection",
"complexity": "O(1)",
"history": [
[
"6.2.0",
"`protover` made optional; when called without arguments the command reports the current connection's context."
]
],
"acl_categories": [
"@fast",
"@connection"
],
"arity": -1,
"arguments": [
{
"name": "arguments",
"type": "block",
"optional": true,
"arguments": [
{
"name": "protover",
"type": "integer",
"display_text": "protover"
},
{
"name": "auth",
"type": "block",
"token": "AUTH",
"optional": true,
"arguments": [
{
"name": "username",
"type": "string",
"display_text": "username"
},
{
"name": "password",
"type": "string",
"display_text": "password"
}
]
},
{
"name": "clientname",
"type": "string",
"display_text": "clientname",
"token": "SETNAME",
"optional": true
}
]
}
],
"command_flags": [
"noscript",
"loading",
"stale",
"fast",
"no_auth",
"allow_busy"
]
},
"HEXISTS": {
"summary": "Determines whether a field exists in a hash.",
"since": "2.0.0",
"group": "hash",
"complexity": "O(1)",
"acl_categories": [
"@read",
"@hash",
"@fast"
],
"arity": 3,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": 0,
"keystep": 1,
"limit": 0
}
},
"RO": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0
},
{
"name": "field",
"type": "string",
"display_text": "field"
}
],
"command_flags": [
"readonly",
"fast"
]
},
"HGET": {
"summary": "Returns the value of a field in a hash.",
"since": "2.0.0",
"group": "hash",
"complexity": "O(1)",
"acl_categories": [
"@read",
"@hash",
"@fast"
],
script/commands.json view on Meta::CPAN
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": -1,
"keystep": 2,
"limit": 0
}
},
"OW": true,
"insert": true
}
],
"arguments": [
{
"name": "data",
"type": "block",
"multiple": true,
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0
},
{
"name": "value",
"type": "string",
"display_text": "value"
}
]
}
],
"command_flags": [
"write",
"denyoom"
]
},
"MULTI": {
"summary": "Starts a transaction.",
"since": "1.2.0",
"group": "transactions",
"complexity": "O(1)",
"acl_categories": [
"@fast",
"@transaction"
],
"arity": 1,
"command_flags": [
"noscript",
"loading",
"stale",
"fast",
"allow_busy"
]
},
"OBJECT": {
"summary": "A container for object introspection commands.",
"since": "2.2.3",
"group": "generic",
"complexity": "Depends on subcommand.",
"acl_categories": [
"@slow"
],
"arity": -2
},
"OBJECT ENCODING": {
"summary": "Returns the internal encoding of a Redis object.",
"since": "2.2.3",
"group": "generic",
"complexity": "O(1)",
"acl_categories": [
"@keyspace",
"@read",
"@slow"
],
"arity": 3,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 2
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": 0,
"keystep": 1,
"limit": 0
}
},
"RO": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0
}
],
"command_flags": [
"readonly"
],
"hints": [
"nondeterministic_output"
]
},
"OBJECT FREQ": {
"summary": "Returns the logarithmic access frequency counter of a Redis object.",
"since": "4.0.0",
script/commands.json view on Meta::CPAN
"arity": -2,
"arguments": [
{
"name": "shardchannel",
"type": "string",
"display_text": "shardchannel",
"optional": true,
"multiple": true
}
],
"command_flags": [
"pubsub",
"loading",
"stale"
]
},
"PUNSUBSCRIBE": {
"summary": "Stops listening to messages published to channels that match one or more patterns.",
"since": "2.0.0",
"group": "pubsub",
"complexity": "O(N) where N is the number of patterns to unsubscribe.",
"acl_categories": [
"@pubsub",
"@slow"
],
"arity": -1,
"arguments": [
{
"name": "pattern",
"type": "pattern",
"display_text": "pattern",
"optional": true,
"multiple": true
}
],
"command_flags": [
"pubsub",
"noscript",
"loading",
"stale"
]
},
"QUIT": {
"summary": "Closes the connection.",
"since": "1.0.0",
"group": "connection",
"complexity": "O(1)",
"deprecated_since": "7.2.0",
"replaced_by": "just closing the connection",
"acl_categories": [
"@fast",
"@connection"
],
"arity": -1,
"command_flags": [
"noscript",
"loading",
"stale",
"fast",
"no_auth",
"allow_busy"
],
"doc_flags": [
"deprecated"
]
},
"RANDOMKEY": {
"summary": "Returns a random key name from the database.",
"since": "1.0.0",
"group": "generic",
"complexity": "O(1)",
"acl_categories": [
"@keyspace",
"@read",
"@slow"
],
"arity": 1,
"command_flags": [
"readonly"
],
"hints": [
"request_policy:all_shards",
"response_policy:special",
"nondeterministic_output"
]
},
"READONLY": {
"summary": "Enables read-only queries for a connection to a Redis Cluster replica node.",
"since": "3.0.0",
"group": "cluster",
"complexity": "O(1)",
"acl_categories": [
"@fast",
"@connection"
],
"arity": 1,
"command_flags": [
"loading",
"stale",
"fast"
]
},
"READWRITE": {
"summary": "Enables read-write queries for a connection to a Reids Cluster replica node.",
"since": "3.0.0",
"group": "cluster",
"complexity": "O(1)",
"acl_categories": [
"@fast",
"@connection"
],
"arity": 1,
"command_flags": [
"loading",
"stale",
"fast"
]
},
"RENAME": {
"summary": "Renames a key and overwrites the destination.",
"since": "1.0.0",
script/commands.json view on Meta::CPAN
}
},
"RW": true,
"access": true,
"delete": true
},
{
"begin_search": {
"type": "index",
"spec": {
"index": 2
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": 0,
"keystep": 1,
"limit": 0
}
},
"OW": true,
"insert": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0
},
{
"name": "newkey",
"type": "key",
"display_text": "newkey",
"key_spec_index": 1
}
],
"command_flags": [
"write",
"fast"
]
},
"REPLCONF": {
"summary": "An internal command for configuring the replication stream.",
"since": "3.0.0",
"group": "server",
"complexity": "O(1)",
"acl_categories": [
"@admin",
"@slow",
"@dangerous"
],
"arity": -1,
"command_flags": [
"admin",
"noscript",
"loading",
"stale",
"allow_busy"
],
"doc_flags": [
"syscmd"
]
},
"REPLICAOF": {
"summary": "Configures a server as replica of another, or promotes it to a master.",
"since": "5.0.0",
"group": "server",
"complexity": "O(1)",
"acl_categories": [
"@admin",
"@slow",
"@dangerous"
],
"arity": 3,
"arguments": [
{
"name": "args",
"type": "oneof",
"arguments": [
{
"name": "host-port",
"type": "block",
"arguments": [
{
"name": "host",
"type": "string",
"display_text": "host"
},
{
"name": "port",
"type": "integer",
"display_text": "port"
}
]
},
{
"name": "no-one",
"type": "block",
"arguments": [
{
"name": "no",
"type": "pure-token",
"display_text": "no",
"token": "NO"
},
{
"name": "one",
"type": "pure-token",
"display_text": "one",
"token": "ONE"
}
]
}
]
}
],
"command_flags": [
"admin",
"noscript",
"stale",
"no_async_loading"
]
},
"RESET": {
"summary": "Resets the connection.",
"since": "6.2.0",
"group": "connection",
"complexity": "O(1)",
"acl_categories": [
"@fast",
"@connection"
],
"arity": 1,
"command_flags": [
"noscript",
"loading",
"stale",
"fast",
"no_auth",
"allow_busy"
]
},
"RESTORE": {
"summary": "Creates a key from the serialized representation of a value.",
"since": "2.6.0",
"group": "generic",
"complexity": "O(1) to create the new key and additional O(N*M) to reconstruct the serialized value, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)...
"history": [
[
"3.0.0",
"Added the `REPLACE` modifier."
],
[
"5.0.0",
"Added the `ABSTTL` modifier."
],
[
"5.0.0",
"Added the `IDLETIME` and `FREQ` options."
]
],
"acl_categories": [
"@keyspace",
"@write",
"@slow",
"@dangerous"
],
"arity": -4,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": 0,
"keystep": 1,
"limit": 0
}
},
"OW": true,
"update": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0
},
{
"name": "ttl",
"type": "integer",
"display_text": "ttl"
},
script/commands.json view on Meta::CPAN
"@scripting"
],
"arity": -2,
"arguments": [
{
"name": "flush-type",
"type": "oneof",
"since": "6.2.0",
"optional": true,
"arguments": [
{
"name": "async",
"type": "pure-token",
"display_text": "async",
"token": "ASYNC"
},
{
"name": "sync",
"type": "pure-token",
"display_text": "sync",
"token": "SYNC"
}
]
}
],
"command_flags": [
"noscript"
],
"hints": [
"request_policy:all_nodes",
"response_policy:all_succeeded"
]
},
"SCRIPT HELP": {
"summary": "Returns helpful text about the different subcommands.",
"since": "5.0.0",
"group": "scripting",
"complexity": "O(1)",
"acl_categories": [
"@slow",
"@scripting"
],
"arity": 2,
"command_flags": [
"loading",
"stale"
]
},
"SCRIPT KILL": {
"summary": "Terminates a server-side Lua script during execution.",
"since": "2.6.0",
"group": "scripting",
"complexity": "O(1)",
"acl_categories": [
"@slow",
"@scripting"
],
"arity": 2,
"command_flags": [
"noscript",
"allow_busy"
],
"hints": [
"request_policy:all_shards",
"response_policy:one_succeeded"
]
},
"SCRIPT LOAD": {
"summary": "Loads a server-side Lua script to the script cache.",
"since": "2.6.0",
"group": "scripting",
"complexity": "O(N) with N being the length in bytes of the script body.",
"acl_categories": [
"@slow",
"@scripting"
],
"arity": 3,
"arguments": [
{
"name": "script",
"type": "string",
"display_text": "script"
}
],
"command_flags": [
"noscript",
"stale"
],
"hints": [
"request_policy:all_nodes",
"response_policy:all_succeeded"
]
},
"SDIFF": {
"summary": "Returns the difference of multiple sets.",
"since": "1.0.0",
"group": "set",
"complexity": "O(N) where N is the total number of elements in all given sets.",
"acl_categories": [
"@read",
"@set",
"@slow"
],
"arity": -2,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": -1,
"keystep": 1,
"limit": 0
}
},
"RO": true,
script/commands.json view on Meta::CPAN
"Added the `NOW`, `FORCE` and `ABORT` modifiers."
]
],
"acl_categories": [
"@admin",
"@slow",
"@dangerous"
],
"arity": -1,
"arguments": [
{
"name": "save-selector",
"type": "oneof",
"optional": true,
"arguments": [
{
"name": "nosave",
"type": "pure-token",
"display_text": "nosave",
"token": "NOSAVE"
},
{
"name": "save",
"type": "pure-token",
"display_text": "save",
"token": "SAVE"
}
]
},
{
"name": "now",
"type": "pure-token",
"display_text": "now",
"token": "NOW",
"since": "7.0.0",
"optional": true
},
{
"name": "force",
"type": "pure-token",
"display_text": "force",
"token": "FORCE",
"since": "7.0.0",
"optional": true
},
{
"name": "abort",
"type": "pure-token",
"display_text": "abort",
"token": "ABORT",
"since": "7.0.0",
"optional": true
}
],
"command_flags": [
"admin",
"noscript",
"loading",
"stale",
"no_multi",
"allow_busy"
]
},
"SINTER": {
"summary": "Returns the intersect of multiple sets.",
"since": "1.0.0",
"group": "set",
"complexity": "O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets.",
"acl_categories": [
"@read",
"@set",
"@slow"
],
"arity": -2,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": -1,
"keystep": 1,
"limit": 0
}
},
"RO": true,
"access": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0,
"multiple": true
}
],
"command_flags": [
"readonly"
],
"hints": [
"nondeterministic_output_order"
]
},
"SINTERCARD": {
"summary": "Returns the number of members of the intersect of multiple sets.",
"since": "7.0.0",
"group": "set",
"complexity": "O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets.",
"acl_categories": [
"@read",
"@set",
"@slow"
],
"arity": -3,
script/commands.json view on Meta::CPAN
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0,
"multiple": true
}
],
"command_flags": [
"write",
"fast"
],
"hints": [
"request_policy:multi_shard",
"response_policy:agg_sum"
]
},
"UNSUBSCRIBE": {
"summary": "Stops listening to messages posted to channels.",
"since": "2.0.0",
"group": "pubsub",
"complexity": "O(N) where N is the number of channels to unsubscribe.",
"acl_categories": [
"@pubsub",
"@slow"
],
"arity": -1,
"arguments": [
{
"name": "channel",
"type": "string",
"display_text": "channel",
"optional": true,
"multiple": true
}
],
"command_flags": [
"pubsub",
"noscript",
"loading",
"stale"
]
},
"UNWATCH": {
"summary": "Forgets about watched keys of a transaction.",
"since": "2.2.0",
"group": "transactions",
"complexity": "O(1)",
"acl_categories": [
"@fast",
"@transaction"
],
"arity": 1,
"command_flags": [
"noscript",
"loading",
"stale",
"fast",
"allow_busy"
]
},
"WAIT": {
"summary": "Blocks until the asynchronous replication of all preceding write commands sent by the connection is completed.",
"since": "3.0.0",
"group": "generic",
"complexity": "O(1)",
"acl_categories": [
"@slow",
"@connection"
],
"arity": 3,
"arguments": [
{
"name": "numreplicas",
"type": "integer",
"display_text": "numreplicas"
},
{
"name": "timeout",
"type": "integer",
"display_text": "timeout"
}
],
"hints": [
"request_policy:all_shards",
"response_policy:agg_min"
]
},
"WAITAOF": {
"summary": "Blocks until all of the preceding write commands sent by the connection are written to the append-only file of the master and/or replicas.",
"since": "7.2.0",
"group": "generic",
"complexity": "O(1)",
"acl_categories": [
"@slow",
"@connection"
],
"arity": 4,
"arguments": [
{
"name": "numlocal",
"type": "integer",
"display_text": "numlocal"
},
{
"name": "numreplicas",
"type": "integer",
"display_text": "numreplicas"
},
{
"name": "timeout",
"type": "integer",
"display_text": "timeout"
}
],
"command_flags": [
"noscript"
],
"hints": [
"request_policy:all_shards",
"response_policy:agg_min"
]
},
"WATCH": {
"summary": "Monitors changes to keys to determine the execution of a transaction.",
"since": "2.2.0",
"group": "transactions",
"complexity": "O(1) for every key.",
"acl_categories": [
"@fast",
"@transaction"
],
"arity": -2,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": -1,
"keystep": 1,
"limit": 0
}
},
"RO": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0,
"multiple": true
}
],
"command_flags": [
"noscript",
"loading",
"stale",
"fast",
"allow_busy"
]
},
"XACK": {
"summary": "Returns the number of messages that were successfully acknowledged by the consumer group member of a stream.",
"since": "5.0.0",
"group": "stream",
"complexity": "O(1) for each message ID processed.",
"acl_categories": [
"@write",
"@stream",
"@fast"
],
"arity": -4,
"key_specs": [
{
"begin_search": {
"type": "index",
"spec": {
"index": 1
}
},
"find_keys": {
"type": "range",
"spec": {
"lastkey": 0,
"keystep": 1,
"limit": 0
}
},
"RW": true,
"update": true
}
],
"arguments": [
{
"name": "key",
"type": "key",
"display_text": "key",
"key_spec_index": 0
},
{
"name": "group",
"type": "string",
"display_text": "group"
},
{
"name": "id",
"type": "string",
"display_text": "id",
"multiple": true
}
],
"command_flags": [
"write",
"fast"
]
},
"XADD": {
"summary": "Appends a new message to a stream. Creates the key if it doesn't exist.",
"since": "5.0.0",
( run in 0.694 second using v1.01-cache-2.11-cpan-39bf76dae61 )