spullara/redis-protocol — pull request #43 by markus-s24 (2014-09-03 11:40:28+00:00)
Title: Simple implementation for blpop and brpop

I implemented blpop and brpop. But blocking is not easy to implement in SimpleRedisServer, because netty seems to hang if an operation blocks. So the timeout feature is restricted to always wait just for 100 ms.

There is also an issue with the method signature. I added the missing byte[] timeout1 parameter, but it is still present as the last key in key0. Furthermore I am not sure how to decode String from byte[]. Is the encoding always the system encoding or always UTF-8?