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.StateMethod 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.removeStateChangeListener(Consumer<RaftContext.State> listener) Removes a state change listener.