It gets all the keys from the `available` list of subqueues: http://redis.io/commands/lrange. Below, the `rpoplpush` rotates them and returns the leading element, which implements the round-robining of subqueues.