Submits task to a random member.
Namespace: Hazelcast.CoreAssembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.12
void Submit<V>(
Runnable task,
IExecutionCallback<V> callback
)
Sub Submit(Of V) (
task As Runnable,
callback As IExecutionCallback(Of V)
)
generic<typename V>
void Submit(
Runnable^ task,
IExecutionCallback<V>^ callback
)
abstract Submit :
task : Runnable *
callback : IExecutionCallback<'V> -> unit
Parameters
- task
- Type: Hazelcast.UtilRunnable
task - callback
- Type: Hazelcast.CoreIExecutionCallbackV
callback
Type Parameters
- V
Submits task to a random member. Caller will be notified for the result of the task by
IExecutionCallback<V>.OnResponse(object)
or
IExecutionCallback<V>
.OnFailure(System.Exception)
.
Reference