Distributed implementation of ExecutorService.
IExecutorService provides additional methods like executing tasks
on a specific member, on a member who is owner of a specific key,
executing a tasks on multiple members and listening execution result using a callback.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
Syntax
The IExecutorService type exposes the following members.
Methods
Name | Description | |
---|---|---|
Destroy | Destroys this object cluster-wide. (Inherited from IDistributedObject.) | |
ExecuteOnAllMembers | Executes task on all of known cluster members | |
ExecuteOnKeyOwner | Executes task on owner of the specified key | |
ExecuteOnMember | Executes task on the specified member | |
ExecuteOnMembers | Executes task on each of the specified members | |
GetName | Returns the unique name for this IDistributedObject. (Inherited from IDistributedObject.) | |
GetPartitionKey | Returns the key of partition this IDistributedObject is assigned to. (Inherited from IDistributedObject.) | |
GetServiceName | Returns the service name for this object. (Inherited from IDistributedObject.) | |
SubmitT(CallableT, IExecutionCallbackT) | Submits task to a random member. | |
SubmitT(Runnable, IExecutionCallbackT) | Submits task to a random member. | |
SubmitToAllMembers(Runnable, IMultiExecutionCallback) | Submits task to the all cluster members. | |
SubmitToAllMembersT(CallableT) |
Submits task to all cluster members and returns
map of IMember-Future pairs representing pending completion of the task on each member
| |
SubmitToAllMembersT(CallableT, IMultiExecutionCallback) | Submits task to the all cluster members. | |
SubmitToKeyOwnerT(CallableT, Object) |
Submits task to owner of the specified key and returns a Future
representing that task.
| |
SubmitToKeyOwnerT(CallableT, Object, IExecutionCallbackT) | Submits task to owner of the specified key. | |
SubmitToKeyOwnerT(Runnable, Object, IExecutionCallbackT) | Submits task to owner of the specified key. | |
SubmitToMemberT(CallableT, IMember) |
Submits task to specified member and returns a Future
representing that task.
| |
SubmitToMemberT(CallableT, IMember, IExecutionCallbackT) | Submits task to the specified member. | |
SubmitToMemberT(Runnable, IMember, IExecutionCallbackT) | Submits task to the specified member. | |
SubmitToMembers(Runnable, ICollectionIMember, IMultiExecutionCallback) | Submits task to the specified members. | |
SubmitToMembersT(CallableT, ICollectionIMember) |
Submits task to given members and returns
map of IMember-Future pairs representing pending completion of the task on each member
| |
SubmitToMembersT(CallableT, ICollectionIMember, IMultiExecutionCallback) | Submits task to the specified members. |
See Also