Asynchronously execute user defined function on server for a single record and return result.
Create listener, call asynchronous execute and return task monitor.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
Task<Object> Execute( WritePolicy policy, CancellationToken token, Key key, string packageName, string functionName, params Value[] functionArgs )
Parameters
- policy
- Type: Aerospike.ClientWritePolicy
write configuration parameters, pass in null for defaults - token
- Type: System.ThreadingCancellationToken
cancellation token - key
- Type: Aerospike.ClientKey
unique record identifier - packageName
- Type: SystemString
server package name where user defined function resides - functionName
- Type: SystemString
user defined function - functionArgs
- Type: Aerospike.ClientValue
arguments passed in to user defined function
Return Value
Type: TaskObjecttask monitor
See Also