AsyncClientExecute Method (BatchPolicy, BatchUDFPolicy, CancellationToken, Key, String, String, Value)

Aerospike
Asynchronously execute user defined function on server for each key. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

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

C#
public Task<BatchResults> Execute(
	BatchPolicy batchPolicy,
	BatchUDFPolicy udfPolicy,
	CancellationToken token,
	Key[] keys,
	string packageName,
	string functionName,
	params Value[] functionArgs
)

Parameters

batchPolicy
Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults
udfPolicy
Type: Aerospike.ClientBatchUDFPolicy
udf configuration parameters, pass in null for defaults
token
Type: System.ThreadingCancellationToken
cancellation token
keys
Type: Aerospike.ClientKey
array of unique record identifiers
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: TaskBatchResults

Implements

IAsyncClientExecute(BatchPolicy, BatchUDFPolicy, CancellationToken, Key, String, String, Value)
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference