IAsyncClientExecute Method (WritePolicy, ExecuteListener, Key, String, String, Value)

Aerospike
Asynchronously execute user defined function on server and return result. The function operates on a single record. The package name is used to locate the udf file location on the server:

udf file = <server udf dir>/<package name>.lua

This method schedules the execute command with a channel selector and returns. Another thread will process the command and send the results to the listener.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
void Execute(
	WritePolicy policy,
	ExecuteListener listener,
	Key key,
	string packageName,
	string functionName,
	params Value[] functionArgs
)

Parameters

policy
Type: Aerospike.ClientWritePolicy
write configuration parameters, pass in null for defaults
listener
Type: Aerospike.ClientExecuteListener
where to send results
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
Exceptions

ExceptionCondition
AerospikeExceptionif transaction fails
See Also

Reference