Uses of Class
org.kiwiproject.curator.leader.ManagedLeaderLatch
Package
Description
-
Uses of ManagedLeaderLatch in org.kiwiproject.curator.leader
Modifier and TypeMethodDescriptionManagedLeaderLatchCreator.getLeaderLatch()
Returns theManagedLeaderLatch
created afterManagedLeaderLatchCreator.start()
has been called.static ManagedLeaderLatch
ManagedLeaderLatchCreator.startLeaderLatch
(org.apache.curator.framework.CuratorFramework client, io.dropwizard.core.setup.Environment environment, ServiceDescriptor serviceDescriptor, org.apache.curator.framework.recipes.leader.LeaderLatchListener... listeners) If the only thing you want is aManagedLeaderLatch
and you want the standard options (a health check and JAX-RS REST resources) and you do not need references to them, use this method to create and start a latch. -
Uses of ManagedLeaderLatch in org.kiwiproject.curator.leader.health
ModifierConstructorDescriptionManagedLeaderLatchHealthCheck
(ManagedLeaderLatch leaderLatch) New health check instance for the given leader latch. -
Uses of ManagedLeaderLatch in org.kiwiproject.curator.leader.resource