Uses of Interface
org.kiwiproject.curator.leader.LeadershipStatus
Packages that use LeadershipStatus
-
Uses of LeadershipStatus in org.kiwiproject.curator.leader
Subinterfaces of LeadershipStatus in org.kiwiproject.curator.leaderModifier and TypeInterfaceDescriptionstatic interfaceDefines an invalid leadership status caused by an error or erroneous state.static interfaceDefines a valid leadership status.Classes in org.kiwiproject.curator.leader that implement LeadershipStatusModifier and TypeClassDescriptionstatic final recordRepresents an invalid latch state; Curator is not in theSTARTEDstate.static final recordRepresents a valid latch state, where the participant is the current leader.static final recordRepresents an invalid latch state; the LeaderLatch is not in theSTARTEDstate.static final recordRepresents an invalid latch state; theLeaderLatchhas no participants.static final recordRepresents a valid latch state, where the participant is not the leader.static final recordRepresents an invalid latch state; an unexpected Exception was thrown.Methods in org.kiwiproject.curator.leader that return LeadershipStatusModifier and TypeMethodDescriptionManagedLeaderLatch.checkLeadershipStatus()Checks whether this instance is the leader, returning aLeadershipStatusobject that callers can use to act upon.