AsyncClientExecute Method

Aerospike
Overload List

  NameDescription
Public methodExecute(WritePolicy, Statement, Operation)
Apply operations on records that match the background query statement filter. Records are not returned to the client. This asynchronous server call will return before the command is complete. The user can optionally wait for command completion by using the returned ExecuteTask instance.
(Inherited from AerospikeClient.)
Public methodExecute(WritePolicy, Key, String, String, Value)
Execute user defined function on server and return results. The function operates on a single record. The package name is used to locate the udf file location:

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

(Inherited from AerospikeClient.)
Public methodExecute(WritePolicy, Statement, String, String, Value)
Apply user defined function on records that match the background query statement filter. Records are not returned to the client. This asynchronous server call will return before the command is complete. The user can optionally wait for command completion by using the returned ExecuteTask instance.
(Inherited from AerospikeClient.)
Public methodExecute(BatchPolicy, BatchUDFPolicy, Key, String, String, Value)
Execute user defined function on server for each key and return results. The package name is used to locate the udf file location:

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

Requires server version 6.0+

(Inherited from AerospikeClient.)
Public methodExecute(WritePolicy, ExecuteListener, Key, String, String, Value)
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.

Public methodExecute(WritePolicy, CancellationToken, Key, String, String, Value)
Asynchronously execute user defined function on server for a single record and return result. Create listener, call asynchronous execute and return task monitor.
Public methodExecute(BatchPolicy, BatchUDFPolicy, BatchRecordArrayListener, Key, String, String, Value)
Asynchronously execute user defined function on server for each key. 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.

The package name is used to locate the udf file location:

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

Requires server version 6.0+

Public methodExecute(BatchPolicy, BatchUDFPolicy, BatchRecordSequenceListener, Key, String, String, Value)
Asynchronously execute user defined function on server for each key. 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. Each record result is returned in separate OnRecord() calls.

The package name is used to locate the udf file location:

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

Requires server version 6.0+

Public methodExecute(BatchPolicy, BatchUDFPolicy, CancellationToken, Key, String, String, Value)
Asynchronously execute user defined function on server for each key. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

Top
See Also

Reference