Package | Description |
---|---|
com.hazelcast.client.proxy |
This package contains client side proxy implementations of the different Hazelcast data structures
and operation types
|
com.hazelcast.client.spi |
Contains classes/interfaces related to the Hazelcast client Service Provider Interface.
|
com.hazelcast.cluster.memberselector |
This package contains several
MemberSelector implementations. |
com.hazelcast.core |
Provides core API interfaces/classes.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientExecutorServiceProxy.execute(Runnable command,
MemberSelector memberSelector) |
void |
ClientExecutorServiceProxy.executeOnMembers(Runnable command,
MemberSelector memberSelector) |
<T> Future<T> |
ClientExecutorServiceProxy.submit(Callable<T> task,
MemberSelector memberSelector) |
<T> void |
ClientExecutorServiceProxy.submit(Callable<T> task,
MemberSelector memberSelector,
ExecutionCallback<T> callback) |
void |
ClientExecutorServiceProxy.submit(Runnable task,
MemberSelector memberSelector,
ExecutionCallback callback) |
<T> Map<Member,Future<T>> |
ClientExecutorServiceProxy.submitToMembers(Callable<T> task,
MemberSelector memberSelector) |
<T> void |
ClientExecutorServiceProxy.submitToMembers(Callable<T> task,
MemberSelector memberSelector,
MultiExecutionCallback callback) |
void |
ClientExecutorServiceProxy.submitToMembers(Runnable task,
MemberSelector memberSelector,
MultiExecutionCallback callback) |
Modifier and Type | Method and Description |
---|---|
Collection<Member> |
ClientClusterService.getMembers(MemberSelector selector)
Returns a collection of the members that satisfy the given
MemberSelector . |
int |
ClientClusterService.getSize(MemberSelector selector)
Gets the number of members that satisfy the given
MemberSelector instance. |
Modifier and Type | Field and Description |
---|---|
static MemberSelector |
MemberSelectors.DATA_MEMBER_SELECTOR
A
MemberSelector instance that selects only data members that own a partition |
static MemberSelector |
MemberSelectors.LITE_MEMBER_SELECTOR
A
MemberSelector instance that selects only lite members that own no partition |
static MemberSelector |
MemberSelectors.LOCAL_MEMBER_SELECTOR
A
MemberSelector instance that selects only local members |
static MemberSelector |
MemberSelectors.NON_LOCAL_MEMBER_SELECTOR
A
MemberSelector instance that selects only remote members |
Modifier and Type | Method and Description |
---|---|
static MemberSelector |
MemberSelectors.and(MemberSelector... selectors)
Selects a member when all of the selectors succeed
|
static MemberSelector |
MemberSelectors.or(MemberSelector... selectors)
Selects a member when one of the selectors succeed
|
Modifier and Type | Method and Description |
---|---|
static MemberSelector |
MemberSelectors.and(MemberSelector... selectors)
Selects a member when all of the selectors succeed
|
static MemberSelector |
MemberSelectors.or(MemberSelector... selectors)
Selects a member when one of the selectors succeed
|
Modifier and Type | Method and Description |
---|---|
void |
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> 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.
|
<T> void |
IExecutorService.submit(Runnable task,
MemberSelector memberSelector,
ExecutionCallback<T> callback)
Submits a task to randomly selected members.
|
<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> void |
IExecutorService.submitToMembers(Callable<T> task,
MemberSelector memberSelector,
MultiExecutionCallback callback)
Submits task to the selected members.
|
void |
IExecutorService.submitToMembers(Runnable task,
MemberSelector memberSelector,
MultiExecutionCallback callback)
Submits task to the selected members.
|
Copyright © 2018 Hazelcast, Inc.. All rights reserved.