Uses of Enum Class
io.atomix.raft.RaftServer.Role
Packages that use RaftServer.Role
Package
Description
Provides classes and interfaces for managing Raft clients and servers.
Implementations of core Raft server interfaces.
Provides
PartitionGroup and Partition implementations for the Raft consensus protocol.Raft partition management utilities.
Provides classes for role-based management of leader election and replication in the Raft
consensus protocol.
-
Uses of RaftServer.Role in io.atomix.raft
Methods in io.atomix.raft that return RaftServer.RoleModifier and TypeMethodDescriptionRaftServer.getRole()Returns the server role.static RaftServer.RoleReturns the enum constant of this class with the specified name.static RaftServer.Role[]RaftServer.Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.atomix.raft with parameters of type RaftServer.RoleModifier and TypeMethodDescriptionvoidRaftRoleChangeListener.onNewRole(RaftServer.Role newRole, long newTerm) -
Uses of RaftServer.Role in io.atomix.raft.impl
Methods in io.atomix.raft.impl that return RaftServer.RoleModifier and TypeMethodDescriptionDefaultRaftServer.getRole()RaftContext.getRole()Returns the current server role.Methods in io.atomix.raft.impl with parameters of type RaftServer.RoleModifier and TypeMethodDescriptionvoidRaftContext.transition(RaftServer.Role role) Transition handler. -
Uses of RaftServer.Role in io.atomix.raft.partition
Methods in io.atomix.raft.partition that return RaftServer.Role -
Uses of RaftServer.Role in io.atomix.raft.partition.impl
Methods in io.atomix.raft.partition.impl that return RaftServer.Role -
Uses of RaftServer.Role in io.atomix.raft.roles
Methods in io.atomix.raft.roles that return RaftServer.Role