Uses of Interface
com.hazelcast.cluster.Member
Package
Description
Contains classes/interfaces related to Client
This package contains the cluster functionality.
This package contains classes to support the collection API.
Provides core API interfaces/classes.
Hazelcast Jet is a distributed computation engine running on top of
Hazelcast IMDG technology.
This package contains logging functionality for Hazelcast.
Since Hazelcast has a zero dependency policy, Hazelcast provides a logging abstraction like commons logging, so that different logging frameworks like log4j, can be hooked in.
Since Hazelcast has a zero dependency policy, Hazelcast provides a logging abstraction like commons logging, so that different logging frameworks like log4j, can be hooked in.
Contains Hazelcast map module classes.
Contains the partition logic for Hazelcast.
This package contains ScheduledExecutorService functionality for Hazelcast.
This package contains the public SPI for vendors and users to implement their
custom node / IP discovery strategy.
Contains exceptions for Hazelcast SPI.
This package contains the basic SPI for the Partition Group SPI to define
or configure how Hazelcast will configure and distribute backups in the
cluster.
Contains classes related to cluster split brain protection.
Contains the API for the
ITopic
.-
Uses of Member in com.hazelcast.client
Modifier and TypeMethodDescriptionLoadBalancer.next()
Returns the next member to route to.default Member
LoadBalancer.nextDataMember()
Deprecated.Since 5.0, the method is unused -
Uses of Member in com.hazelcast.cluster
Modifier and TypeMethodDescriptionCluster.getLocalMember()
Returns this Hazelcast instance member.MembershipEvent.getMember()
Returns the removed or added member.Modifier and TypeMethodDescriptionCluster.getMembers()
Set of the current members in the cluster.InitialMembershipEvent.getMembers()
Returns an immutable set of ordered members at the moment thisInitialMembershipListener
is registered.MembershipEvent.getMembers()
Returns a consistent view of the the members immediately after this MembershipEvent has been processed.Modifier and TypeMethodDescriptionboolean
Decides if the given member will be part of an operation or not.ModifierConstructorDescriptionMembershipEvent
(Cluster cluster, Member member, int eventType, Set<Member> members) ModifierConstructorDescriptionInitialMembershipEvent
(Cluster cluster, Set<Member> members) MembershipEvent
(Cluster cluster, Member member, int eventType, Set<Member> members) -
Uses of Member in com.hazelcast.collection
Modifier and TypeMethodDescriptionItemEvent.getMember()
Returns the member that fired this event.ModifierConstructorDescriptionItemEvent
(String name, ItemEventType itemEventType, E item, Member member) -
Uses of Member in com.hazelcast.core
Modifier and TypeMethodDescriptionMemberLeftException.getMember()
Returns the member that left the clusterModifier and TypeMethodDescriptionIExecutorService.submitToAllMembers
(Callable<T> task) Submits task to all cluster members and returns a map of Member-Future pairs representing pending completion of the task on each member.IExecutorService.submitToMembers
(Callable<T> task, MemberSelector memberSelector) Submits a task to selected members and returns a map of Member-Future pairs representing pending completion of the task on each member.IExecutorService.submitToMembers
(Callable<T> task, Collection<Member> members) Submits a task to given members and returns map of Member-Future pairs representing pending completion of the task on each memberModifier and TypeMethodDescriptionvoid
IExecutorService.executeOnMember
(Runnable command, Member member) Executes a task on the specified member.void
MultiExecutionCallback.onResponse
(Member member, Object value) Called when an execution is completed on a member.<T> void
IExecutorService.submitToMember
(Runnable task, Member member, ExecutionCallback<T> callback) Submits a task to the specified member.<T> Future<T>
IExecutorService.submitToMember
(Callable<T> task, Member member) Submits a task to the specified member and returns a Future representing that task.<T> void
IExecutorService.submitToMember
(Callable<T> task, Member member, ExecutionCallback<T> callback) Submits a task to the specified member.Modifier and TypeMethodDescriptionvoid
IExecutorService.executeOnMembers
(Runnable command, Collection<Member> members) Executes a task on each of the specified members.void
MultiExecutionCallback.onComplete
(Map<Member, Object> values) Called after all executions are completed.void
IExecutorService.submitToMembers
(Runnable task, Collection<Member> members, MultiExecutionCallback callback) Submits a task to the specified members.IExecutorService.submitToMembers
(Callable<T> task, Collection<Member> members) Submits a task to given members and returns map of Member-Future pairs representing pending completion of the task on each member<T> void
IExecutorService.submitToMembers
(Callable<T> task, Collection<Member> members, MultiExecutionCallback callback) Submits a task to the specified members.ModifierConstructorDescriptionEntryEvent
(Object source, Member member, int eventType, K key, V value) Constructs an entry event.Constructs an entry event.Constructs an entry event.MemberLeftException
(Member member) -
Uses of Member in com.hazelcast.jet
-
Uses of Member in com.hazelcast.logging
-
Uses of Member in com.hazelcast.map
Modifier and TypeMethodDescriptionAbstractIMapEvent.getMember()
Returns the member that fired this event.EventLostEvent.getMember()
IMapEvent.getMember()
Returns the member that fired this event.ModifierConstructorDescriptionprotected
AbstractIMapEvent
(Object source, Member member, int eventType) Constructs a prototypical map Event.EventLostEvent
(String source, Member member, int partitionId) MapPartitionLostEvent
(Object source, Member member, int eventType, int partitionId) -
Uses of Member in com.hazelcast.partition
Modifier and TypeMethodDescriptionReplicaMigrationEvent.getDestination()
Returns the new owner of the migrating partition replica.Partition.getOwner()
Returns the current member that owns this partition.ReplicaMigrationEvent.getSource()
Returns the old owner of the migrating partition replica.Modifier and TypeMethodDescriptionboolean
PartitionService.isMemberSafe
(Member member) Checks whether the given member is in safe state. -
Uses of Member in com.hazelcast.scheduledexecutor
Modifier and TypeMethodDescription<V> Map<Member,
List<IScheduledFuture<V>>> IScheduledExecutorService.getAllScheduledFutures()
Fetches and returns all scheduled (not disposed yet) futures from all members in the cluster.<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnAllMembers
(Runnable command, long delay, TimeUnit unit) Creates and executes a one-shot action that becomes enabled after the given delay on all clusterMember
s.<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnAllMembers
(Callable<V> command, long delay, TimeUnit unit) Creates and executes a one-shot action that becomes enabled after the given delay on all clusterMember
s.<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnAllMembersAtFixedRate
(Runnable command, long initialDelay, long period, TimeUnit unit) Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period on all clusterMember
s.<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnMembers
(Runnable command, Collection<Member> members, long delay, TimeUnit unit) Creates and executes a one-shot action that becomes enabled after the given delay on allMember
s given.<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnMembers
(Callable<V> command, Collection<Member> members, long delay, TimeUnit unit) Creates and executes a one-shot action that becomes enabled after the given delay on allMember
s given.<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnMembersAtFixedRate
(Runnable command, Collection<Member> members, long initialDelay, long period, TimeUnit unit) Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period on allMember
s given.Modifier and TypeMethodDescription<V> IScheduledFuture<V>
IScheduledExecutorService.scheduleOnMember
(Runnable command, Member member, long delay, TimeUnit unit) Creates and executes a one-shot action that becomes enabled after the given delay at the givenMember
.<V> IScheduledFuture<V>
IScheduledExecutorService.scheduleOnMember
(Callable<V> command, Member member, long delay, TimeUnit unit) Creates and executes a one-shot action that becomes enabled after the given delay at the givenMember
.<V> IScheduledFuture<V>
IScheduledExecutorService.scheduleOnMemberAtFixedRate
(Runnable command, Member member, long initialDelay, long period, TimeUnit unit) Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period at the givenMember
.Modifier and TypeMethodDescription<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnMembers
(Runnable command, Collection<Member> members, long delay, TimeUnit unit) Creates and executes a one-shot action that becomes enabled after the given delay on allMember
s given.<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnMembers
(Callable<V> command, Collection<Member> members, long delay, TimeUnit unit) Creates and executes a one-shot action that becomes enabled after the given delay on allMember
s given.<V> Map<Member,
IScheduledFuture<V>> IScheduledExecutorService.scheduleOnMembersAtFixedRate
(Runnable command, Collection<Member> members, long initialDelay, long period, TimeUnit unit) Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period on allMember
s given. -
Uses of Member in com.hazelcast.spi.discovery
Modifier and TypeMethodDescriptionAbstractDiscoveryStrategy.getPartitionGroupStrategy
(Collection<? extends Member> allMembers) default PartitionGroupStrategy
DiscoveryStrategy.getPartitionGroupStrategy
(Collection<? extends Member> allMembers) Returns a custom implementation of aPartitionGroupStrategy
to override default behavior of zone aware backup strategiesPartitionGroupMetaData
or to provide a specific behavior in case the discovery environment does not provide information about the infrastructure to be used for automatic configuration. -
Uses of Member in com.hazelcast.spi.exception
ModifierConstructorDescriptionWrongTargetException
(Member localMember, Member target, int partitionId, int replicaIndex, String operationName) WrongTargetException
(Member localMember, Member target, int partitionId, int replicaIndex, String operationName, String serviceName) -
Uses of Member in com.hazelcast.spi.partitiongroup
-
Uses of Member in com.hazelcast.splitbrainprotection
Modifier and TypeMethodDescriptionSplitBrainProtectionEvent.getCurrentMembers()
Returns the snapshot of member list at the time split brain protection happenedModifier and TypeMethodDescriptionvoid
HeartbeatAware.onHeartbeat
(Member member, long timestamp) Notifies of a received heartbeat.void
PingAware.onPingLost
(Member member) Notifies theSplitBrainProtectionFunction
of ping loss.void
PingAware.onPingRestored
(Member member) Notifies theSplitBrainProtectionFunction
of a successful ping after one or more pings to that member were lost.Modifier and TypeMethodDescriptionboolean
SplitBrainProtectionFunction.apply
(Collection<Member> members) Determines whether the minimum cluster size property is satisfied based on the current list of members in the cluster.ModifierConstructorDescriptionSplitBrainProtectionEvent
(Object source, int threshold, Collection<Member> currentMembers, boolean presence) -
Uses of Member in com.hazelcast.topic
Modifier and TypeMethodDescriptionMessage.getPublishingMember()
Returns the member that published the message.