Submits task to the specified members.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
void SubmitToMembers<T>(
Callable<T> task,
ICollection<IMember> members,
IMultiExecutionCallback callback
)
Sub SubmitToMembers(Of T) (
task As Callable(Of T),
members As ICollection(Of IMember),
callback As IMultiExecutionCallback
)
generic<typename T>
void SubmitToMembers(
Callable<T>^ task,
ICollection<IMember^>^ members,
IMultiExecutionCallback^ callback
)
abstract SubmitToMembers :
task : Callable<'T> *
members : ICollection<IMember> *
callback : IMultiExecutionCallback -> unit
Parameters
- task
- Type: Hazelcast.UtilCallableT
task - members
- Type: System.Collections.GenericICollectionIMember
List of members to execute on - callback
- Type: Hazelcast.CoreIMultiExecutionCallback
callback
Type Parameters
- T
Submits task to the specified members. Caller will be notified for the result of the each task by
IMultiExecutionCallback.OnResponse(IMember, object)
, and when all tasks are completed,
IMultiExecutionCallback.OnComplete(System.Collections.Generic.IDictionary
<IMember, object>)
will be called.
Reference