Submits task to owner of the specified key.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
void SubmitToKeyOwner<T>(
Runnable task,
Object key,
IExecutionCallback<T> callback
)
Sub SubmitToKeyOwner(Of T) (
task As Runnable,
key As Object,
callback As IExecutionCallback(Of T)
)
generic<typename T>
void SubmitToKeyOwner(
Runnable^ task,
Object^ key,
IExecutionCallback<T>^ callback
)
abstract SubmitToKeyOwner :
task : Runnable *
key : Object *
callback : IExecutionCallback<'T> -> unit
Parameters
- task
- Type: Hazelcast.UtilRunnable
task - key
- Type: SystemObject
the specified key - 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