AsyncClientOperate(BatchPolicy, BatchOperateListListener, ListBatchRecord) Method

Asynchronously read/write multiple records for specified batch keys in one batch call. Schedule command with a channel selector and return. Another thread will process the command and send the results to the listener in a single call.

This method allows different namespaces/bins to be requested for each key in the batch. The returned records are located in the same list.

BatchRecord can be BatchRead, BatchWrite, BatchDelete or BatchUDF.

Requires server version 6.0+


Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 6.0.1
public void Operate(
	BatchPolicy policy,
	BatchOperateListListener listener,
	List<BatchRecord> records


policy  BatchPolicy
batch configuration parameters, pass in null for defaults
listener  BatchOperateListListener
where to send results
records  ListBatchRecord
list of unique record identifiers and read/write operations


IAsyncClientOperate(BatchPolicy, BatchOperateListListener, ListBatchRecord)


AerospikeExceptionif queue is full

See Also