Uses of Class
org.kiwiproject.curator.leader.ManagedLeaderLatch
-
Packages that use ManagedLeaderLatch Package Description org.kiwiproject.curator.leader org.kiwiproject.curator.leader.health org.kiwiproject.curator.leader.resource -
-
Uses of ManagedLeaderLatch in org.kiwiproject.curator.leader
Methods in org.kiwiproject.curator.leader that return ManagedLeaderLatch Modifier and Type Method Description ManagedLeaderLatchManagedLeaderLatchCreator. getLeaderLatch()Returns theManagedLeaderLatchcreated afterManagedLeaderLatchCreator.start()has been called.static ManagedLeaderLatchManagedLeaderLatchCreator. startLeaderLatch(org.apache.curator.framework.CuratorFramework client, io.dropwizard.setup.Environment environment, ServiceDescriptor serviceDescriptor, org.apache.curator.framework.recipes.leader.LeaderLatchListener... listeners)If the only thing you want is aManagedLeaderLatchand 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
Constructors in org.kiwiproject.curator.leader.health with parameters of type ManagedLeaderLatch Constructor Description ManagedLeaderLatchHealthCheck(ManagedLeaderLatch leaderLatch)New health check instance for the given leader latch. -
Uses of ManagedLeaderLatch in org.kiwiproject.curator.leader.resource
Constructors in org.kiwiproject.curator.leader.resource with parameters of type ManagedLeaderLatch Constructor Description LeaderResource(ManagedLeaderLatch leaderLatch)
-