Uses of Interface
com.hazelcast.cluster.Member
Package | Description |
---|---|
com.hazelcast.client |
Contains classes/interfaces related to Client
|
com.hazelcast.client.util |
This package contains some utility classes and the base implementations of the
loadbalancer implementations
|
com.hazelcast.cluster |
This package contains the cluster functionality.
|
com.hazelcast.collection |
This package contains classes to support the collection API.
|
com.hazelcast.core |
Provides core API interfaces/classes.
|
com.hazelcast.logging |
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. |
com.hazelcast.map |
Contains Hazelcast map module classes.
|
com.hazelcast.partition |
Contains the partition logic for Hazelcast.
|
com.hazelcast.scheduledexecutor |
This package contains ScheduledExecutorService functionality for Hazelcast.
|
com.hazelcast.spi.exception |
Contains exceptions for Hazelcast SPI.
|
com.hazelcast.spi.partitiongroup |
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.
|
com.hazelcast.splitbrainprotection |
Contains classes related to cluster split brain protection.
|
com.hazelcast.topic |
Contains the API for the
ITopic . |
-
Uses of Member in com.hazelcast.client
Methods in com.hazelcast.client that return Member Modifier and Type Method Description Member
LoadBalancer. next()
Returns the next member to route to. -
Uses of Member in com.hazelcast.client.util
Methods in com.hazelcast.client.util that return Member Modifier and Type Method Description protected Member[]
AbstractLoadBalancer. getMembers()
Member
RandomLB. next()
Member
RoundRobinLB. next()
Member
StaticLB. next()
Constructors in com.hazelcast.client.util with parameters of type Member Constructor Description StaticLB(Member member)
-
Uses of Member in com.hazelcast.cluster
Fields in com.hazelcast.cluster declared as Member Modifier and Type Field Description protected Member
MembershipEvent. member
Fields in com.hazelcast.cluster with type parameters of type Member Modifier and Type Field Description protected Set<Member>
MembershipEvent. members
Methods in com.hazelcast.cluster that return Member Modifier and Type Method Description Member
Cluster. getLocalMember()
Returns this Hazelcast instance member.Member
MembershipEvent. getMember()
Returns the removed or added member.Methods in com.hazelcast.cluster that return types with arguments of type Member Modifier and Type Method Description Set<Member>
Cluster. getMembers()
Set of the current members in the cluster.Set<Member>
InitialMembershipEvent. getMembers()
Returns an immutable set of ordered members at the moment thisInitialMembershipListener
is registered.Set<Member>
MembershipEvent. getMembers()
Returns a consistent view of the the members immediately after this MembershipEvent has been processed.Methods in com.hazelcast.cluster with parameters of type Member Modifier and Type Method Description boolean
MemberSelector. select(Member member)
Decides if the given member will be part of an operation or not.Constructors in com.hazelcast.cluster with parameters of type Member Constructor Description MembershipEvent(Cluster cluster, Member member, int eventType, Set<Member> members)
Constructor parameters in com.hazelcast.cluster with type arguments of type Member Constructor Description InitialMembershipEvent(Cluster cluster, Set<Member> members)
MembershipEvent(Cluster cluster, Member member, int eventType, Set<Member> members)
-
Uses of Member in com.hazelcast.collection
Methods in com.hazelcast.collection that return Member Modifier and Type Method Description Member
ItemEvent. getMember()
Returns the member that fired this event.Constructors in com.hazelcast.collection with parameters of type Member Constructor Description ItemEvent(String name, ItemEventType itemEventType, E item, Member member)
-
Uses of Member in com.hazelcast.core
Methods in com.hazelcast.core that return Member Modifier and Type Method Description Member
MemberLeftException. getMember()
Returns the member that left the clusterMethods in com.hazelcast.core that return types with arguments of type Member Modifier and Type Method Description <T> Map<Member,Future<T>>
IExecutorService. 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.<T> Map<Member,Future<T>>
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.<T> Map<Member,Future<T>>
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 memberMethods in com.hazelcast.core with parameters of type Member Modifier and Type Method Description void
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.Method parameters in com.hazelcast.core with type arguments of type Member Modifier and Type Method Description void
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.<T> Map<Member,Future<T>>
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.Constructors in com.hazelcast.core with parameters of type Member Constructor Description EntryEvent(Object source, Member member, int eventType, K key, V value)
Constructs an entry event.EntryEvent(Object source, Member member, int eventType, K key, V oldValue, V value)
Constructs an entry event.EntryEvent(Object source, Member member, int eventType, K key, V oldValue, V value, V mergingValue)
Constructs an entry event.MemberLeftException(Member member)
-
Uses of Member in com.hazelcast.logging
Methods in com.hazelcast.logging that return Member Modifier and Type Method Description Member
LogEvent. getMember()
Constructors in com.hazelcast.logging with parameters of type Member Constructor Description LogEvent(LogRecord logRecord, Member member)
-
Uses of Member in com.hazelcast.map
Methods in com.hazelcast.map that return Member Modifier and Type Method Description Member
AbstractIMapEvent. getMember()
Returns the member that fired this event.Member
EventLostEvent. getMember()
Member
IMapEvent. getMember()
Returns the member that fired this event.Constructors in com.hazelcast.map with parameters of type Member Constructor Description AbstractIMapEvent(Object source, Member member, int eventType)
Constructs a prototypical map Event.EventLostEvent(String source, Member member, int partitionId)
MapEvent(Object source, Member member, int eventType, int numberOfEntriesAffected)
MapPartitionLostEvent(Object source, Member member, int eventType, int partitionId)
-
Uses of Member in com.hazelcast.partition
Methods in com.hazelcast.partition that return Member Modifier and Type Method Description Member
ReplicaMigrationEvent. getDestination()
Returns the new owner of the migrating partition replica.Member
Partition. getOwner()
Returns the current member that owns this partition.Member
ReplicaMigrationEvent. getSource()
Returns the old owner of the migrating partition replica.Methods in com.hazelcast.partition with parameters of type Member Modifier and Type Method Description boolean
PartitionService. isMemberSafe(Member member)
Checks whether the given member is in safe state. -
Uses of Member in com.hazelcast.scheduledexecutor
Methods in com.hazelcast.scheduledexecutor that return types with arguments of type Member Modifier and Type Method Description <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.Methods in com.hazelcast.scheduledexecutor with parameters of type Member Modifier and Type Method Description <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
.Method parameters in com.hazelcast.scheduledexecutor with type arguments of type Member Modifier and Type Method Description <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.exception
Methods in com.hazelcast.spi.exception that return Member Modifier and Type Method Description Member
WrongTargetException. getTarget()
Constructors in com.hazelcast.spi.exception with parameters of type Member Constructor Description WrongTargetException(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
Methods in com.hazelcast.spi.partitiongroup that return types with arguments of type Member Modifier and Type Method Description Iterator<Member>
MemberGroup. iterator()
Methods in com.hazelcast.spi.partitiongroup with parameters of type Member Modifier and Type Method Description void
MemberGroup. addMember(Member member)
boolean
MemberGroup. hasMember(Member member)
void
MemberGroup. removeMember(Member member)
Method parameters in com.hazelcast.spi.partitiongroup with type arguments of type Member Modifier and Type Method Description void
MemberGroup. addMembers(Collection<Member> members)
-
Uses of Member in com.hazelcast.splitbrainprotection
Methods in com.hazelcast.splitbrainprotection that return types with arguments of type Member Modifier and Type Method Description Collection<Member>
SplitBrainProtectionEvent. getCurrentMembers()
Returns the snapshot of member list at the time split brain protection happenedMethods in com.hazelcast.splitbrainprotection with parameters of type Member Modifier and Type Method Description void
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.Method parameters in com.hazelcast.splitbrainprotection with type arguments of type Member Modifier and Type Method Description boolean
SplitBrainProtectionFunction. apply(Collection<Member> members)
Determines whether the minimum cluster size property is satisfied based on the current list of members in the cluster.Constructor parameters in com.hazelcast.splitbrainprotection with type arguments of type Member Constructor Description SplitBrainProtectionEvent(Object source, int threshold, Collection<Member> currentMembers, boolean presence)
-
Uses of Member in com.hazelcast.topic
Methods in com.hazelcast.topic that return Member Modifier and Type Method Description Member
Message. getPublishingMember()
Returns the member that published the message.