Uses of Enum
org.apache.curator.framework.recipes.leader.LeaderLatch.CloseMode
-
Uses of LeaderLatch.CloseMode in org.apache.curator.framework.recipes.leader
Modifier and TypeMethodDescriptionstatic LeaderLatch.CloseMode
Returns the enum constant of this type with the specified name.static LeaderLatch.CloseMode[]
LeaderLatch.CloseMode.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionvoid
LeaderLatch.close
(LeaderLatch.CloseMode closeMode) Remove this instance from the leadership election.ModifierConstructorDescriptionLeaderLatch
(CuratorFramework client, String latchPath, String id, LeaderLatch.CloseMode closeMode)