Redis Watch 命令

更新时间: 2019-07-07 15:54

Redis Watch 命令用于监视一个(或多个) key ,如果在事务执行之前这个(或这些) key 被其他命令所改动,那么事务将被打断

语法

redis Watch 命令基本语法如下:

WATCH key [key ...]

可用版本

>= 2.2.0

返回值

总是返回 OK 。

实例

redis> WATCH lock lock_times
OK

查看更多 Redis 事务命令

Text Algorithms

Text Algorithms

Maxime Crochemore、Wojciech Rytter / Oxford University Press / 1994

This much-needed book on the design of algorithms and data structures for text processing emphasizes both theoretical foundations and practical applications. It is intended to serve both as a textbook......一起来看看 《Text Algorithms》 这本书的介绍吧!

html转js在线工具

html转js在线工具

html转js在线工具

HEX CMYK 转换工具

HEX CMYK 转换工具

HEX CMYK 互转工具