Submits task to a random member.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
void Submit<T>(
Runnable task,
IExecutionCallback<T> callback
)
Sub Submit(Of T) (
task As Runnable,
callback As IExecutionCallback(Of T)
)
generic<typename T>
void Submit(
Runnable^ task,
IExecutionCallback<T>^ callback
)
abstract Submit :
task : Runnable *
callback : IExecutionCallback<'T> -> unit
Parameters
- task
- Type: Hazelcast.UtilRunnable
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