Redis-Based TransferQueue in Java

The TransferQueue interface in the Java programming language is a queue for passing messages according to the producer-consumer programming design pattern. The TransferQueue interface is based on the BlockingQueue interface in Java, with the additional stipulation that producers can wait until consumers receive their messages.

Redis is an open-source, in-memory data structure store that is often used to build distributed NoSQL key-value databases. Although many Java programmers would like to use Redis with Java, Redis is not automatically compatible with Java constructs such as TransferQueue out of the box.