Package org.kiwiproject.curator.leader
-
Class Summary Class Description ManagedLeaderLatch Wrapper around Curator'sLeaderLatchwhich standardizes the id and latch path in ZooKeeper, and which registers with Dropwizard so that it manages the lifecycle (mainly to ensure the latch is stopped when the Dropwizard app stops).ManagedLeaderLatchCreator Entry point to initializeManagedLeaderLatch, which wraps an Apache CuratorLeaderLatchand allows for easy determination whether a JVM process is the leader in a group of JVMs connected to a ZooKeeper cluster.ServiceDescriptor