Async-Redis

 view release on metacpan or  search on metacpan

script/commands.json  view on Meta::CPAN

                "name": "prefix",
                "type": "string",
                "display_text": "prefix",
                "token": "PREFIX",
                "optional": true,
                "multiple": true,
                "multiple_token": true
            },
            {
                "name": "bcast",
                "type": "pure-token",
                "display_text": "bcast",
                "token": "BCAST",
                "optional": true
            },
            {
                "name": "optin",
                "type": "pure-token",
                "display_text": "optin",
                "token": "OPTIN",
                "optional": true
            },
            {
                "name": "optout",
                "type": "pure-token",
                "display_text": "optout",
                "token": "OPTOUT",
                "optional": true
            },
            {
                "name": "noloop",
                "type": "pure-token",
                "display_text": "noloop",
                "token": "NOLOOP",
                "optional": true
            }
        ],
        "command_flags": [
            "noscript",
            "loading",
            "stale"
        ]
    },
    "CLIENT TRACKINGINFO": {
        "summary": "Returns information about server-assisted client-side caching for the connection.",
        "since": "6.2.0",
        "group": "connection",
        "complexity": "O(1)",
        "acl_categories": [
            "@slow",
            "@connection"
        ],
        "arity": 2,
        "command_flags": [
            "noscript",
            "loading",
            "stale"
        ]
    },
    "CLIENT UNBLOCK": {
        "summary": "Unblocks a client blocked by a blocking command from a different connection.",
        "since": "5.0.0",
        "group": "connection",
        "complexity": "O(log N) where N is the number of client connections",
        "acl_categories": [
            "@admin",
            "@slow",
            "@dangerous",
            "@connection"
        ],
        "arity": -3,
        "arguments": [
            {
                "name": "client-id",
                "type": "integer",
                "display_text": "client-id"
            },
            {
                "name": "unblock-type",
                "type": "oneof",
                "optional": true,
                "arguments": [
                    {
                        "name": "timeout",
                        "type": "pure-token",
                        "display_text": "timeout",
                        "token": "TIMEOUT"
                    },
                    {
                        "name": "error",
                        "type": "pure-token",
                        "display_text": "error",
                        "token": "ERROR"
                    }
                ]
            }
        ],
        "command_flags": [
            "admin",
            "noscript",
            "loading",
            "stale"
        ]
    },
    "CLIENT UNPAUSE": {
        "summary": "Resumes processing commands from paused clients.",
        "since": "6.2.0",
        "group": "connection",
        "complexity": "O(N) Where N is the number of paused clients",
        "acl_categories": [
            "@admin",
            "@slow",
            "@dangerous",
            "@connection"
        ],
        "arity": 2,
        "command_flags": [
            "admin",
            "noscript",
            "loading",
            "stale"

script/commands.json  view on Meta::CPAN

                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": -1,
                        "keystep": 1,
                        "limit": 2
                    }
                },
                "RO": true,
                "access": true
            }
        ],
        "arguments": [
            {
                "name": "count",
                "type": "integer",
                "display_text": "count",
                "token": "COUNT",
                "optional": true
            },
            {
                "name": "milliseconds",
                "type": "integer",
                "display_text": "milliseconds",
                "token": "BLOCK",
                "optional": true
            },
            {
                "name": "streams",
                "type": "block",
                "token": "STREAMS",
                "arguments": [
                    {
                        "name": "key",
                        "type": "key",
                        "display_text": "key",
                        "key_spec_index": 0,
                        "multiple": true
                    },
                    {
                        "name": "id",
                        "type": "string",
                        "display_text": "id",
                        "multiple": true
                    }
                ]
            }
        ],
        "command_flags": [
            "readonly",
            "blocking",
            "movablekeys"
        ]
    },
    "XREADGROUP": {
        "summary": "Returns new or historical messages from a stream for a consumer in a group. Blocks until a message is available otherwise.",
        "since": "5.0.0",
        "group": "stream",
        "complexity": "For each stream mentioned: O(M) with M being the number of elements returned. If M is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1). On the other side when XREADGROUP blocks, XADD ...
        "acl_categories": [
            "@write",
            "@stream",
            "@slow",
            "@blocking"
        ],
        "arity": -7,
        "key_specs": [
            {
                "begin_search": {
                    "type": "keyword",
                    "spec": {
                        "keyword": "STREAMS",
                        "startfrom": 4
                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": -1,
                        "keystep": 1,
                        "limit": 2
                    }
                },
                "RO": true,
                "access": true
            }
        ],
        "arguments": [
            {
                "name": "group-block",
                "type": "block",
                "token": "GROUP",
                "arguments": [
                    {
                        "name": "group",
                        "type": "string",
                        "display_text": "group"
                    },
                    {
                        "name": "consumer",
                        "type": "string",
                        "display_text": "consumer"
                    }
                ]
            },
            {
                "name": "count",
                "type": "integer",
                "display_text": "count",
                "token": "COUNT",
                "optional": true
            },
            {
                "name": "milliseconds",
                "type": "integer",
                "display_text": "milliseconds",
                "token": "BLOCK",
                "optional": true
            },



( run in 0.451 second using v1.01-cache-2.11-cpan-df04353d9ac )