命令族 | 命令 | 新增说明 |
list 族 | LMPOP numkeys key [key ...] <LEFT | RIGHT> [COUNT count] | 新增命令。 从 list 中弹出 COUNT 个元素,弹出方向由 LEFT | RIGHT 控制。 多 Key 命令。 |
| BLMPOP timeout numkeys key [key ...] <LEFT | RIGHT> [COUNT count] | 新增命令。 lmpop 的阻塞版本,timeout 设置阻塞的时间。 如果 blmpop 用在 multi exec 中,行为等同于 lmpop,此规格由 redis 定义,proxy 不做特殊处理 |
命令 | 2.8 内存版(标准架构) | 4.0 内存版(标准架构) | 4.0 内存版(集群架构) | 5.0 内存版(标准架构) | 5.0 内存版(集群架构) | 6.2 内存版(标准架构) | 6.2内存版(集群架构) | 7.0 内存版(标准架构) | 7.0 内存版(集群架构) | 内存版(集群架构)跨 Slot 支持 |
lindex | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
linsert | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
llen | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
lpop | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
lpush | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
lpushx | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
lrange | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
lrem | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
lset | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
ltrim | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
rpop | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
rpoplpush | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | x |
rpush | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
rpushx | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | - |
blpop | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | x |
brpop | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | x |
brpoplpush | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | x |
blmove | x | x | x | x | x | ✓ | ✓ | ✓ | ✓ | - |
lpos | x | x | x | x | x | ✓ | ✓ | ✓ | ✓ | - |
lmove | x | x | x | x | x | ✓ | ✓ | ✓ | ✓ | - |
lmpop | x | x | x | x | x | x | x | ✓ | ✓ | - |
blmpop | x | x | x | x | x | x | x | ✓ | ✓ | - |
本页内容是否解决了您的问题?