Blocking operations (BRPOP / BLPOP) ?

5 views
Skip to first unread message

muriloq

unread,
Jun 23, 2010, 8:29:59 AM6/23/10
to JRedis
Hi.

Does JRedis support the blocking list operations (BRPOP and/or
BLPOP) ? I have a simple producer / consumer setup using a Redis list
as a queue, and I would like to avoid polling the queue...

I'm using Redis 1.3.14 (a.k.a. 2.0.0 RC1) and I tried both jredis 1.0
RC1 and the latest from the git master branch (BTW, while compiling
the git master branch many tests ran by maven failed - is it
normal ?).

Thanks a lot in advance.

muriloq
Reply all
Reply to author
Forward
0 new messages