Async-Redis

 view release on metacpan or  search on metacpan

script/commands.json  view on Meta::CPAN

        "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",
                "Added the `BYTE|BIT` option."
            ]
        ],
        "acl_categories": [
            "@read",
            "@bitmap",
            "@slow"
        ],
        "arity": -2,
        "key_specs": [
            {
                "begin_search": {
                    "type": "index",
                    "spec": {
                        "index": 1
                    }
                },
                "find_keys": {
                    "type": "range",
                    "spec": {
                        "lastkey": 0,

script/commands.json  view on Meta::CPAN

        "arguments": [
            {
                "name": "key",
                "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,
                "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"
        ]
    },



( run in 0.729 second using v1.01-cache-2.11-cpan-9581c071862 )