Submits task to a random member.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.1.0
void Submit<T>(
Callable<T> task,
IExecutionCallback<T> callback
)
Sub Submit(Of T) (
task As Callable(Of T),
callback As IExecutionCallback(Of T)
)
generic<typename T>
void Submit(
Callable<T>^ task,
IExecutionCallback<T>^ callback
)
abstract Submit :
task : Callable<'T> *
callback : IExecutionCallback<'T> -> unit
Parameters
- task
- Type: Hazelcast.UtilCallableT
task - callback
- Type: Hazelcast.CoreIExecutionCallbackT
callback
Type Parameters
- T
Submits task to a random member. Caller will be notified for the result of the task by
OnResponse(T)
or
OnFailure(Exception)
.
Reference