IAsyncClientOperate(BatchPolicy, CancellationToken, ListBatchRecord) Method

Asynchronously read/write multiple records for specified batch keys in one batch call. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
Task<bool> Operate(
	BatchPolicy policy,
	CancellationToken token,
	List<BatchRecord> records
)

Parameters

policy  BatchPolicy
batch configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
records  ListBatchRecord
list of unique record identifiers and read/write operations

Return Value

TaskBoolean

Exceptions

AerospikeExceptionif queue is full

See Also