Uses of Class
io.atomix.cluster.MemberId
| Package | Description |
|---|---|
| io.atomix.cluster |
Provides classes and interfaces for cluster management.
|
| io.atomix.cluster.messaging |
Provides high-level interfaces for direct and publish-subscribe inter-cluster communication.
|
| io.atomix.cluster.protocol |
Provides interfaces and implementations for group membership protocols.
|
-
Uses of MemberId in io.atomix.cluster
Methods in io.atomix.cluster that return MemberId Modifier and Type Method Description static MemberIdMemberId. anonymous()Creates a new cluster node identifier from the specified string.static MemberIdMemberId. from(String id)Creates a new cluster node identifier from the specified string.MemberIdMemberConfig. getId()Returns the member identifier.MemberIdMember. id()Methods in io.atomix.cluster with parameters of type MemberId Modifier and Type Method Description static MemberBuilderMember. builder(MemberId memberId)Returns a new member builder.MemberClusterMembershipService. getMember(MemberId memberId)Returns the specified member.static MemberMember. member(MemberId memberId, io.atomix.utils.net.Address address)Returns a new named cluster member.MemberConfigMemberConfig. setId(MemberId id)Sets the member identifier.MemberBuilderMemberBuilder. withId(MemberId id)Sets the member identifier.AtomixClusterBuilderAtomixClusterBuilder. withMemberId(MemberId localMemberId)Sets the local member identifier. -
Uses of MemberId in io.atomix.cluster.messaging
Methods in io.atomix.cluster.messaging with parameters of type MemberId Modifier and Type Method Description default <M, R> CompletableFuture<R>ClusterCommunicationService. send(String subject, M message, MemberId toMemberId)Sends a message and expects a reply.default <M, R> CompletableFuture<R>ClusterCommunicationService. send(String subject, M message, MemberId toMemberId, java.time.Duration timeout)Sends a message and expects a reply.default <M, R> CompletableFuture<R>ClusterCommunicationService. send(String subject, M message, java.util.function.Function<M,byte[]> encoder, java.util.function.Function<byte[],R> decoder, MemberId toMemberId)Sends a message and expects a reply.<M, R> CompletableFuture<R>ClusterCommunicationService. send(String subject, M message, java.util.function.Function<M,byte[]> encoder, java.util.function.Function<byte[],R> decoder, MemberId toMemberId, java.time.Duration timeout)Sends a message and expects a reply.default <M> CompletableFuture<Void>ClusterCommunicationService. unicast(String subject, M message, MemberId toMemberId)Sends a message to the specified member over TCP.default <M> CompletableFuture<Void>ClusterCommunicationService. unicast(String subject, M message, MemberId toMemberId, boolean reliable)Sends a message to the specified member.default <M> CompletableFuture<Void>ClusterCommunicationService. unicast(String subject, M message, java.util.function.Function<M,byte[]> encoder, MemberId toMemberId)Sends a message to the specified member over TCP.<M> CompletableFuture<Void>ClusterCommunicationService. unicast(String subject, M message, java.util.function.Function<M,byte[]> encoder, MemberId toMemberId, boolean reliable)Sends a message to the specified member.Method parameters in io.atomix.cluster.messaging with type arguments of type MemberId Modifier and Type Method Description default <M> voidClusterCommunicationService. multicast(String subject, M message, java.util.function.Function<M,byte[]> encoder, Set<MemberId> memberIds)Multicasts a message to a set of members over TCP.<M> voidClusterCommunicationService. multicast(String subject, M message, java.util.function.Function<M,byte[]> encoder, Set<MemberId> memberIds, boolean reliable)Multicasts a message to a set of members.default <M> voidClusterCommunicationService. multicast(String subject, M message, Set<MemberId> memberIds)Multicasts a message to a set of members over TCP.default <M> voidClusterCommunicationService. multicast(String subject, M message, Set<MemberId> memberIds, boolean reliable)Multicasts a message to a set of members.default <M> CompletableFuture<Void>ClusterCommunicationService. subscribe(String subject, java.util.function.BiConsumer<MemberId,M> handler, Executor executor)Adds a new subscriber for the specified message subject.<M> CompletableFuture<Void>ClusterCommunicationService. subscribe(String subject, java.util.function.Function<byte[],M> decoder, java.util.function.BiConsumer<MemberId,M> handler, Executor executor)Adds a new subscriber for the specified message subject. -
Uses of MemberId in io.atomix.cluster.protocol
Methods in io.atomix.cluster.protocol with parameters of type MemberId Modifier and Type Method Description MemberGroupMembershipProtocol. getMember(MemberId memberId)Returns the specified member.MemberHeartbeatMembershipProtocol. getMember(MemberId memberId)MemberSwimMembershipProtocol. getMember(MemberId memberId)