Redis Watch 命令
Redis 教程
· 2019-03-08 10:12:16
Redis Watch 命令用于监视一个(或多个) key ,如果在事务执行之前这个(或这些) key 被其他命令所改动,那么事务将被打断
语法
redis Watch 命令基本语法如下:
WATCH key [key ...]
可用版本
>= 2.2.0
返回值
总是返回 OK 。
实例
redis> WATCH lock lock_times OK
点击查看所有 Redis 教程 文章: https://codercto.com/courses/l/33.html
Programming Amazon Web Services
James Murty / O'Reilly Media / 2008-3-25 / USD 49.99
Building on the success of its storefront and fulfillment services, Amazon now allows businesses to "rent" computing power, data storage and bandwidth on its vast network platform. This book demonstra......一起来看看 《Programming Amazon Web Services》 这本书的介绍吧!