Uses of Enum Class
io.atomix.raft.cluster.RaftMember.Type
Packages that use RaftMember.Type
Package
Description
Provides classes and interfaces for managing Raft clients and servers.
Provides interfaces for managing and interacting with the Raft cluster.
Implementations of Raft cluster management interfaces.
Implementations of core Raft server interfaces.
Raft partition management utilities.
-
Uses of RaftMember.Type in io.atomix.raft
Method parameters in io.atomix.raft with type arguments of type RaftMember.TypeModifier and TypeMethodDescriptionRaftServer.forceConfigure(Map<MemberId, RaftMember.Type> membersToRetain) Force configure the partition to remove all members which are not part of the given membersToRetain. -
Uses of RaftMember.Type in io.atomix.raft.cluster
Methods in io.atomix.raft.cluster that return RaftMember.TypeModifier and TypeMethodDescriptionRaftMember.getType()Returns the member type.static RaftMember.TypeReturns the enum constant of this class with the specified name.static RaftMember.Type[]RaftMember.Type.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.atomix.raft.cluster with parameters of type RaftMember.TypeModifier and TypeMethodDescriptionRaftMember.demote(RaftMember.Type type) Demotes the member to the given type.RaftMember.promote(RaftMember.Type type) Promotes the member to the given type.Method parameters in io.atomix.raft.cluster with type arguments of type RaftMember.TypeModifier and TypeMethodDescriptionvoidRaftMember.addTypeChangeListener(Consumer<RaftMember.Type> listener) Adds a listener to be called when the member's type changes. -
Uses of RaftMember.Type in io.atomix.raft.cluster.impl
Methods in io.atomix.raft.cluster.impl that return RaftMember.TypeMethods in io.atomix.raft.cluster.impl with parameters of type RaftMember.TypeModifier and TypeMethodDescriptionDefaultRaftMember.demote(RaftMember.Type type) DefaultRaftMember.promote(RaftMember.Type type) DefaultRaftMember.update(RaftMember.Type type, Instant time) Updates the member type.Method parameters in io.atomix.raft.cluster.impl with type arguments of type RaftMember.TypeModifier and TypeMethodDescriptionvoidDefaultRaftMember.addTypeChangeListener(Consumer<RaftMember.Type> listener) Constructors in io.atomix.raft.cluster.impl with parameters of type RaftMember.TypeModifierConstructorDescriptionDefaultRaftMember(MemberId id, RaftMember.Type type, Instant updated) -
Uses of RaftMember.Type in io.atomix.raft.impl
Methods in io.atomix.raft.impl with parameters of type RaftMember.TypeModifier and TypeMethodDescriptionvoidRaftContext.transition(RaftMember.Type type) Transitions the server to the base state for the given member type.Method parameters in io.atomix.raft.impl with type arguments of type RaftMember.TypeModifier and TypeMethodDescriptionDefaultRaftServer.forceConfigure(Map<MemberId, RaftMember.Type> membersToRetain) ReconfigurationHelper.forceConfigure(Map<MemberId, RaftMember.Type> newMembersIds) Force configuration works as follows. -
Uses of RaftMember.Type in io.atomix.raft.partition.impl
Method parameters in io.atomix.raft.partition.impl with type arguments of type RaftMember.TypeModifier and TypeMethodDescriptionRaftPartitionServer.forceReconfigure(Map<MemberId, RaftMember.Type> members)