Submits task to owner of the specified key.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
void SubmitToKeyOwner<T>(
Callable<T> task,
Object key,
IExecutionCallback<T> callback
)
Sub SubmitToKeyOwner(Of T) (
task As Callable(Of T),
key As Object,
callback As IExecutionCallback(Of T)
)
generic<typename T>
void SubmitToKeyOwner(
Callable<T>^ task,
Object^ key,
IExecutionCallback<T>^ callback
)
abstract SubmitToKeyOwner :
task : Callable<'T> *
key : Object *
callback : IExecutionCallback<'T> -> unit
Parameters
- task
- Type: Hazelcast.UtilCallableT
task - key
- Type: SystemObject
key to execute on - callback
- Type: Hazelcast.CoreIExecutionCallbackT
callback
Type Parameters
- T
Submits task to owner of the specified key. Caller will be notified for the result of the task by
OnResponse(T)
or
OnFailure(Exception)
.
Reference