Netflix/curator — pull request #23 by yuhanonescreen (2012-01-27 19:26:29+00:00)
Title: letting DistributedQueue.put() to return the filepath created in zooKeeper

after creating an item in the queue, I'd like to also have the filePath of the created item. (so that I could track the item in the queue)

I added two methods by copying and modifying the existing methods: putForeground() and internalPutForeground(), just to make sure there is a way to run in synchronized mode and return the path of the created file in zooKeeper at the end of the function.