All Classes
-
All Classes Class Summary Exception Summary Class Description GotLeaderLatchResource JAX-RS resource providing a single endpoint that allows clients to determine whether this service participates in a leader latch.LeaderResource JAX-RS resource providing endpoints for checking leadership and participant information.ManagedLeaderLatch Wrapper around Curator'sLeaderLatch
which 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 CuratorLeaderLatch
and allows for easy determination whether a JVM process is the leader in a group of JVMs connected to a ZooKeeper cluster.ManagedLeaderLatchException Exception that is thrown when there is some unexpected error relating to a managed Curator leader latch.ManagedLeaderLatchHealthCheck Simple check to determine if the leader latch is started (healthy) or otherwise (not healthy).ServiceDescriptor Value class that contains metadata about a service that participates in a leader latch.