Uses of Interface
com.hazelcast.cluster.MemberSelector
Package
Description
This package contains several
MemberSelector
implementations.Provides core API interfaces/classes.
-
Uses of MemberSelector in com.hazelcast.cluster.memberselector
Modifier and TypeFieldDescriptionstatic final MemberSelector
MemberSelectors.DATA_MEMBER_SELECTOR
AMemberSelector
instance that selects only data members that own a partitionstatic final MemberSelector
MemberSelectors.LITE_MEMBER_SELECTOR
AMemberSelector
instance that selects only lite members that own no partitionstatic final MemberSelector
MemberSelectors.LOCAL_MEMBER_SELECTOR
AMemberSelector
instance that selects only local membersstatic final MemberSelector
MemberSelectors.NON_LOCAL_MEMBER_SELECTOR
AMemberSelector
instance that selects only remote membersModifier and TypeMethodDescriptionstatic MemberSelector
MemberSelectors.and
(MemberSelector... selectors) Selects a member when all of the selectors succeedstatic MemberSelector
MemberSelectors.or
(MemberSelector... selectors) Selects a member when one of the selectors succeedModifier and TypeMethodDescriptionstatic MemberSelector
MemberSelectors.and
(MemberSelector... selectors) Selects a member when all of the selectors succeedstatic MemberSelector
MemberSelectors.or
(MemberSelector... selectors) Selects a member when one of the selectors succeed -
Uses of MemberSelector in com.hazelcast.core
Modifier and TypeMethodDescriptionvoid
IExecutorService.execute
(Runnable command, MemberSelector memberSelector) Executes a task on a randomly selected member.void
IExecutorService.executeOnMembers
(Runnable command, MemberSelector memberSelector) Executes a task on each of the selected members.<T> void
IExecutorService.submit
(Runnable task, MemberSelector memberSelector, ExecutionCallback<T> callback) Submits a task to randomly selected members.<T> Future<T>
IExecutorService.submit
(Callable<T> task, MemberSelector memberSelector) Submits a task to a randomly selected member and returns a Future representing that task.<T> void
IExecutorService.submit
(Callable<T> task, MemberSelector memberSelector, ExecutionCallback<T> callback) Submits task to a randomly selected member.void
IExecutorService.submitToMembers
(Runnable task, MemberSelector memberSelector, MultiExecutionCallback callback) Submits task to all the cluster members.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> void
IExecutorService.submitToMembers
(Callable<T> task, MemberSelector memberSelector, MultiExecutionCallback callback) Submits task to the selected members.