Netflix/curator — Issue #37: Correct way of using Double Barries
Author: akiani
Created: 2012-03-06 19:33:19+00:00
State: open

(moved from ZooKeeper users mailing list)

Dear JZ,

I am curious to know how DistributedDoubleBarries can be correctly used in the same JVM. I basically want to sync the start and end of an execution inside a DistributedQueue's consume method and a Listener call for a PathChildrenCache.

I would truly appreciate an example snippet.

Cheers,
Amir