Uses of Class
io.atomix.cluster.MemberId
Packages that use MemberId
Package
Description
Provides classes and interfaces for cluster management.
Cluster management interface implementations.
Provides high-level interfaces for direct and publish-subscribe inter-cluster communication.
Messaging layer interface implementations.
Provides interfaces and implementations for group membership protocols.
Provides classes and interfaces for managing primitive partitions, partition groups, and member
groups.
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.
Provides
and
invalid reference
io.atomix.primitive.partition.PartitionGroup
Partition implementations for the Raft consensus protocol.Raft partition management utilities.
Provides
RaftRequest and RaftResponse implementations for all internal Raft protocol
communication.Provides classes for role-based management of leader election and replication in the Raft
consensus protocol.
Provides classes and interfaces that aid in storing and loading persistent cluster and server
configurations.
Provides utility classes for use in the Raft consensus protocol implementation.
-
Uses of MemberId in io.atomix.cluster
Methods in io.atomix.cluster that return MemberIdModifier and TypeMethodDescriptionstatic MemberIdMemberId.anonymous()Creates a new cluster node identifier from the specified string.static MemberIdCreates a new cluster node identifier from the specified string.MemberConfig.getId()Returns the member identifier.Member.id()Methods in io.atomix.cluster with parameters of type MemberIdModifier and TypeMethodDescriptionstatic MemberBuilderReturns a new member builder.Returns the specified member.static MemberReturns a new named cluster member.Sets the member identifier.Sets the member identifier.AtomixClusterBuilder.withMemberId(MemberId localMemberId) Sets the local member identifier.Constructors in io.atomix.cluster with parameters of type MemberId -
Uses of MemberId in io.atomix.cluster.impl
Methods in io.atomix.cluster.impl that return types with arguments of type MemberIdMethods in io.atomix.cluster.impl with parameters of type MemberIdModifier and TypeMethodDescriptionConstructor parameters in io.atomix.cluster.impl with type arguments of type MemberId -
Uses of MemberId in io.atomix.cluster.messaging
Methods in io.atomix.cluster.messaging that return types with arguments of type MemberIdModifier and TypeMethodDescriptionClusterEventService.getSubscribers(String topic) Returns a list of remote members subscribed for the given topic.Methods in io.atomix.cluster.messaging with parameters of type MemberIdModifier and TypeMethodDescription<M,R> CompletableFuture <R> ClusterCommunicationService.send(String subject, M message, Function<M, byte[]> encoder, Function<byte[], R> decoder, MemberId toMemberId, Duration timeout) Sends a message and expects a reply.<M> voidClusterCommunicationService.unicast(String subject, M message, Function<M, byte[]> encoder, MemberId memberId, boolean reliable) Sends a message to a member.Method parameters in io.atomix.cluster.messaging with type arguments of type MemberIdModifier and TypeMethodDescription<M> voidClusterCommunicationService.consume(String subject, Function<byte[], M> decoder, BiConsumer<MemberId, M> handler, Executor executor) Adds a new subscriber for the specified message subject which does not return any reply.<M> voidClusterCommunicationService.multicast(String subject, M message, Function<M, byte[]> encoder, Set<MemberId> memberIds, boolean reliable) Multicasts a message to a set of members.<M,R> void ClusterCommunicationService.replyTo(String subject, Function<byte[], M> decoder, BiFunction<MemberId, M, R> handler, Function<R, byte[]> encoder, Executor executor) Adds a new subscriber for the specified message subject which must return a reply. -
Uses of MemberId in io.atomix.cluster.messaging.impl
Methods in io.atomix.cluster.messaging.impl that return types with arguments of type MemberIdMethods in io.atomix.cluster.messaging.impl with parameters of type MemberIdModifier and TypeMethodDescription<M,R> CompletableFuture <R> DefaultClusterCommunicationService.send(String subject, M message, Function<M, byte[]> encoder, Function<byte[], R> decoder, MemberId toMemberId, Duration timeout) <M> voidDefaultClusterCommunicationService.unicast(String subject, M message, Function<M, byte[]> encoder, MemberId memberId, boolean reliable) Method parameters in io.atomix.cluster.messaging.impl with type arguments of type MemberIdModifier and TypeMethodDescription<M> voidDefaultClusterCommunicationService.consume(String subject, Function<byte[], M> decoder, BiConsumer<MemberId, M> handler, Executor executor) <M> voidDefaultClusterCommunicationService.multicast(String subject, M message, Function<M, byte[]> encoder, Set<MemberId> nodes, boolean reliable) <M,R> void DefaultClusterCommunicationService.replyTo(String subject, Function<byte[], M> decoder, BiFunction<MemberId, M, R> handler, Function<R, byte[]> encoder, Executor executor) -
Uses of MemberId in io.atomix.cluster.protocol
Methods in io.atomix.cluster.protocol with parameters of type MemberId -
Uses of MemberId in io.atomix.primitive.partition
Methods in io.atomix.primitive.partition that return types with arguments of type MemberIdModifier and TypeMethodDescriptionPartitionMetadata.getPrimary()Returns the primary member of the partition or null if there is no primaryPartition.members()Returns the collection of all members in the partition.PartitionMetadata.members()Returns the controller nodes that are members of this partition.Methods in io.atomix.primitive.partition with parameters of type MemberIdModifier and TypeMethodDescriptionintPartitionMetadata.getPriority(MemberId member) Return the priority of the node if the node is a member of the replication group for this partition.Constructors in io.atomix.primitive.partition with parameters of type MemberIdModifierConstructorDescriptionPartitionMetadata(PartitionId id, Set<MemberId> members, Map<MemberId, Integer> priority, int targetPriority, MemberId primary) Constructor parameters in io.atomix.primitive.partition with type arguments of type MemberIdModifierConstructorDescriptionPartitionMetadata(PartitionId id, Set<MemberId> members, Map<MemberId, Integer> priority, int targetPriority, MemberId primary) PartitionMetadata(PartitionId id, Set<MemberId> members, Map<MemberId, Integer> priority, int targetPriority, MemberId primary) -
Uses of MemberId in io.atomix.raft
Fields in io.atomix.raft declared as MemberIdMethods in io.atomix.raft with parameters of type MemberIdModifier and TypeMethodDescriptiondefault CompletableFuture<RaftServer> Bootstraps the cluster using the provided cluster configuration.static RaftServer.BuilderReturns a new Raft server builder.default CompletableFuture<RaftServer> Starts this raft server by joining an existing replication group.Method parameters in io.atomix.raft with type arguments of type MemberIdModifier and TypeMethodDescriptionRaftServer.bootstrap(Collection<MemberId> cluster) Bootstraps the cluster using the provided cluster configuration.RaftServer.forceConfigure(Map<MemberId, RaftMember.Type> membersToRetain) Force configure the partition to remove all members which are not part of the given membersToRetain.RaftServer.join(Collection<MemberId> cluster) Starts this raft server by joining an existing replication group.Constructors in io.atomix.raft with parameters of type MemberId -
Uses of MemberId in io.atomix.raft.cluster
Methods in io.atomix.raft.cluster that return MemberIdMethods in io.atomix.raft.cluster with parameters of type MemberIdModifier and TypeMethodDescriptiondefault CompletableFuture<Void> Bootstraps the cluster.Returns a member by ID.Method parameters in io.atomix.raft.cluster with type arguments of type MemberIdModifier and TypeMethodDescriptionRaftCluster.bootstrap(Collection<MemberId> cluster) Bootstraps the cluster.RaftCluster.join(Collection<MemberId> cluster) -
Uses of MemberId in io.atomix.raft.cluster.impl
Methods in io.atomix.raft.cluster.impl that return MemberIdMethods in io.atomix.raft.cluster.impl with parameters of type MemberIdModifier and TypeMethodDescriptionRaftClusterContext.getMemberContext(MemberId id) Returns the context for a given member.booleanMethod parameters in io.atomix.raft.cluster.impl with type arguments of type MemberIdModifier and TypeMethodDescriptionRaftClusterContext.bootstrap(Collection<MemberId> cluster) RaftClusterContext.join(Collection<MemberId> cluster) Constructors in io.atomix.raft.cluster.impl with parameters of type MemberIdModifierConstructorDescriptionDefaultRaftMember(MemberId id, RaftMember.Type type, Instant updated) RaftClusterContext(MemberId localMemberId, RaftContext raft) -
Uses of MemberId in io.atomix.raft.impl
Methods in io.atomix.raft.impl that return MemberIdModifier and TypeMethodDescriptionRaftContext.getLastVotedFor()Returns the state last voted for candidate.Methods in io.atomix.raft.impl with parameters of type MemberIdModifier and TypeMethodDescriptionvoidRaftContext.setLastVotedFor(MemberId candidate) Sets the state last voted for candidate.voidSets the state leader.Method parameters in io.atomix.raft.impl with type arguments of type MemberIdModifier and TypeMethodDescriptionDefaultRaftServer.bootstrap(Collection<MemberId> cluster) DefaultRaftServer.forceConfigure(Map<MemberId, RaftMember.Type> membersToRetain) ReconfigurationHelper.forceConfigure(Map<MemberId, RaftMember.Type> newMembersIds) Force configuration works as follows.DefaultRaftServer.join(Collection<MemberId> cluster) ReconfigurationHelper.join(Collection<MemberId> clusterMembers) Constructors in io.atomix.raft.impl with parameters of type MemberIdModifierConstructorDescriptionRaftContext(String name, int partitionId, MemberId localMemberId, ClusterMembershipService membershipService, RaftServerProtocol protocol, RaftStorage storage, RaftThreadContextFactory threadContextFactory, Supplier<Random> randomFactory, RaftElectionConfig electionConfig, RaftPartitionConfig partitionConfig, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Uses of MemberId in io.atomix.raft.partition
Methods in io.atomix.raft.partition that return types with arguments of type MemberId -
Uses of MemberId in io.atomix.raft.partition.impl
Methods in io.atomix.raft.partition.impl that return MemberIdMethods in io.atomix.raft.partition.impl with parameters of type MemberIdModifier and TypeMethodDescriptionRaftServerCommunicator.append(MemberId memberId, AppendRequest request) RaftServerCommunicator.append(MemberId memberId, VersionedAppendRequest request) RaftServerCommunicator.configure(MemberId memberId, ConfigureRequest request) RaftServerCommunicator.forceConfigure(MemberId memberId, ForceConfigureRequest request) RaftServerCommunicator.install(MemberId memberId, InstallRequest request) RaftServerCommunicator.join(MemberId memberId, JoinRequest request) RaftServerCommunicator.leave(MemberId memberId, LeaveRequest request) RaftServerCommunicator.poll(MemberId memberId, PollRequest request) RaftServerCommunicator.reconfigure(MemberId memberId, ReconfigureRequest request) RaftServerCommunicator.transfer(MemberId memberId, TransferRequest request) RaftServerCommunicator.vote(MemberId memberId, VoteRequest request) Method parameters in io.atomix.raft.partition.impl with type arguments of type MemberIdModifier and TypeMethodDescriptionRaftPartitionServer.forceReconfigure(Map<MemberId, RaftMember.Type> members) Constructors in io.atomix.raft.partition.impl with parameters of type MemberIdModifierConstructorDescriptionRaftPartitionServer(RaftPartition partition, RaftPartitionConfig config, MemberId localMemberId, ClusterMembershipService membershipService, ClusterCommunicationService clusterCommunicator, ReceivableSnapshotStore persistedSnapshotStore, PartitionMetadata partitionMetadata, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Uses of MemberId in io.atomix.raft.protocol
Fields in io.atomix.raft.protocol declared as MemberIdModifier and TypeFieldDescriptionprotected MemberIdTransferRequest.Builder.memberprotected final MemberIdTransferRequest.memberMethods in io.atomix.raft.protocol that return MemberIdModifier and TypeMethodDescriptionPollRequest.candidate()Returns the candidate's address.VoteRequest.candidate()Returns the candidate's address.AppendRequest.from()ConfigureRequest.from()ForceConfigureRequest.from()InstallRequest.from()JoinRequest.from()LeaveRequest.from()PollRequest.from()RaftRequest.from()ReconfigureRequest.from()TransferRequest.from()VersionedAppendRequest.from()VoteRequest.from()AppendRequest.leader()Returns the requesting leader address.ConfigureRequest.leader()Returns the requesting leader address.InstallRequest.leader()Returns the requesting leader address.InternalAppendRequest.leader()Returns the value of theleaderrecord component.VersionedAppendRequest.leader()Returns the requesting leader address.TransferRequest.member()Returns the member to which to transfer.Methods in io.atomix.raft.protocol with parameters of type MemberIdModifier and TypeMethodDescriptionRaftServerProtocol.append(MemberId memberId, AppendRequest request) Sends an append request to the given node.RaftServerProtocol.append(MemberId memberId, VersionedAppendRequest request) RaftServerProtocol.configure(MemberId memberId, ConfigureRequest request) Sends a configure request to the given node.RaftServerProtocol.forceConfigure(MemberId memberId, ForceConfigureRequest request) Sends a force configure request to the given node.RaftServerProtocol.install(MemberId memberId, InstallRequest request) Sends an install request to the given node.RaftServerProtocol.join(MemberId memberId, JoinRequest request) Sends a join request to the given node.RaftServerProtocol.leave(MemberId memberId, LeaveRequest request) Sends a leave request to the given node.RaftServerProtocol.poll(MemberId memberId, PollRequest request) Sends a poll request to the given node.RaftServerProtocol.reconfigure(MemberId memberId, ReconfigureRequest request) Sends a reconfigure request to the given node.RaftServerProtocol.transfer(MemberId memberId, TransferRequest request) Sends a transfer request to the given node.RaftServerProtocol.vote(MemberId memberId, VoteRequest request) Sends a vote request to the given node.PollRequest.Builder.withCandidate(MemberId candidate) Sets the request leader.VoteRequest.Builder.withCandidate(MemberId candidate) Sets the request leader.ConfigureRequest.Builder.withLeader(MemberId leader) Sets the request leader.InstallRequest.Builder.withLeader(MemberId leader) Sets the request leader.VersionedAppendRequest.Builder.withLeader(MemberId leader) Sets the request leader.TransferRequest.Builder.withMember(MemberId member) Sets the request member.Constructors in io.atomix.raft.protocol with parameters of type MemberIdModifierConstructorDescriptionInstallRequest(long currentTerm, MemberId leader, long index, long term, int version, ByteBuffer chunkId, ByteBuffer nextChunkId, ByteBuffer data, boolean initial, boolean complete) InternalAppendRequest(long term, MemberId leader, long prevLogIndex, long prevLogTerm, long commitIndex, List<? extends ReplicatableRaftRecord> entries) Creates an instance of aInternalAppendRequestrecord class.protectedTransferRequest(MemberId member) -
Uses of MemberId in io.atomix.raft.roles
Methods in io.atomix.raft.roles with parameters of type MemberIdModifier and TypeMethodDescriptionprotected booleanAbstractRole.updateTermAndLeader(long term, MemberId leader) Updates the term and leader.Method parameters in io.atomix.raft.roles with type arguments of type MemberIdModifier and TypeMethodDescriptionprotected <T extends RaftRequest,U extends RaftResponse>
CompletableFuture<U> AbstractRole.forward(T request, BiFunction<MemberId, T, CompletableFuture<U>> function) Forwards the given request to the leader if possible. -
Uses of MemberId in io.atomix.raft.storage.system
Methods in io.atomix.raft.storage.system that return MemberIdMethods in io.atomix.raft.storage.system with parameters of type MemberId -
Uses of MemberId in io.atomix.raft.utils
Methods in io.atomix.raft.utils with parameters of type MemberIdModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidConstructor parameters in io.atomix.raft.utils with type arguments of type MemberIdModifierConstructorDescriptionForceConfigureQuorum(Consumer<Boolean> callback, Collection<MemberId> members) JointConsensusVoteQuorum(Consumer<Boolean> callback, Collection<MemberId> oldMembers, Collection<MemberId> newMembers) SimpleVoteQuorum(Consumer<Boolean> callback, Collection<MemberId> members)