Uses of Class
org.kiwiproject.curator.leader.ServiceDescriptor
-
Packages that use ServiceDescriptor Package Description org.kiwiproject.curator.leader -
-
Uses of ServiceDescriptor in org.kiwiproject.curator.leader
Methods in org.kiwiproject.curator.leader with parameters of type ServiceDescriptor Modifier and Type Method Description static ManagedLeaderLatchCreatorManagedLeaderLatchCreator. from(org.apache.curator.framework.CuratorFramework client, io.dropwizard.setup.Environment environment, ServiceDescriptor serviceDescriptor, org.apache.curator.framework.recipes.leader.LeaderLatchListener... listeners)Static factory method to create aManagedLeaderLatchCreator.static StringManagedLeaderLatch. leaderLatchId(ServiceDescriptor serviceDescriptor)Utility method to generate a standard latch id for a service.static ManagedLeaderLatchCreatorManagedLeaderLatchCreator. start(org.apache.curator.framework.CuratorFramework client, io.dropwizard.setup.Environment environment, ServiceDescriptor serviceInfo, org.apache.curator.framework.recipes.leader.LeaderLatchListener... listeners)If you want aManagedLeaderLatchand you want the standard options (a health check and JAX-RS REST resources) and you might need references to them, use this method to create and start a latch.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.Constructors in org.kiwiproject.curator.leader with parameters of type ServiceDescriptor Constructor Description ManagedLeaderLatch(org.apache.curator.framework.CuratorFramework client, ServiceDescriptor serviceDescriptor, org.apache.curator.framework.recipes.leader.LeaderLatchListener... listeners)Construct a latch with a standard ID and latch path.
-