代潇瑞博客

brpoplpush 命令/方法/函数

A blocking version of rpoplpush, with an integral timeout in the third parameter.

rpoplpush的阻塞版本,这个版本有第三个参数用于设置阻塞时间,即如果源LIST为空,那么可以阻塞监听timeout的时间,如果有元素了则执行操作。


Parameters

Key: srckey

Key: dstkey

Long: timeout


Return value

STRING The element that was moved in case of success, FALSE in case of timeout.

【相关命令】

触屏版 | 电脑版

Copyright © 2013 代潇瑞博客手机版

QQ: 446673330

粤ICP备13071969号-1