Async-Redis
view release on metacpan or search on metacpan
script/commands.json view on Meta::CPAN
"type": "key",
"display_text": "key",
"key_spec_index": 0
}
],
"command_flags": [
"readonly",
"fast"
],
"hints": [
"nondeterministic_output"
]
},
"TYPE": {
"summary": "Determines the type of value stored at a key.",
"since": "1.0.0",
"group": "generic",
"complexity": "O(1)",
"acl_categories": [
"@keyspace",
"@read",
"@fast"
],
"arity": 2,
"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
}
],
"command_flags": [
"readonly",
"fast"
]
},
"UNLINK": {
"summary": "Asynchronously deletes one or more keys.",
"since": "4.0.0",
"group": "generic",
"complexity": "O(1) for each key removed regardless of its size. Then the command does O(N) work in a different thread in order to reclaim memory, where N is the number of allocations the deleted objects where composed of.",
"acl_categories": [
"@keyspace",
"@write",
"@fast"
],
"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",
"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,
( run in 0.608 second using v1.01-cache-2.11-cpan-751830e7986 )