Redis列表相关操作
lpush rpush lpop rpop出入链表list
llen character
lrange character 0 -1
lrem character -1 f
ltrim character 0 3 截取自身0-3的元素赋给自己
rpoplpush source bak左出右进
brpop blpop key timeout 等待删除
Redis列表相关操作
lpush rpush lpop rpop出入链表list
llen character
lrange character 0 -1
lrem character -1 f
ltrim character 0 3 截取自身0-3的元素赋给自己
rpoplpush source bak左出右进
brpop blpop key timeout 等待删除