Uses of Enum Class
io.atomix.raft.impl.RaftContext.State
Packages that use RaftContext.State
-
Uses of RaftContext.State in io.atomix.raft.impl
Methods in io.atomix.raft.impl that return RaftContext.StateModifier and TypeMethodDescriptionRaftContext.getState()Returns the current server state.static RaftContext.StateReturns the enum constant of this class with the specified name.static RaftContext.State[]RaftContext.State.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.atomix.raft.impl with parameters of type RaftContext.StateModifier and TypeMethodDescriptionvoidRaftContext.awaitState(RaftContext.State state, Consumer<RaftContext.State> listener) Awaits a state change.Method parameters in io.atomix.raft.impl with type arguments of type RaftContext.StateModifier and TypeMethodDescriptionvoidRaftContext.addStateChangeListener(Consumer<RaftContext.State> listener) Adds a state change listener.voidRaftContext.awaitState(RaftContext.State state, Consumer<RaftContext.State> listener) Awaits a state change.voidRaftContext.removeStateChangeListener(Consumer<RaftContext.State> listener) Removes a state change listener.