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+
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.0.0 (5.3.0)
Syntax
C#
Task<bool> Operate( BatchPolicy policy, CancellationToken token, List<BatchRecord> records )
Parameters
- policy
- Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults - token
- Type: System.ThreadingCancellationToken
cancellation token - records
- Type: System.Collections.GenericListBatchRecord
list of unique record identifiers and read/write operations
Return Value
Type: TaskBooleanExceptions
Exception | Condition |
---|---|
AerospikeException | if queue is full |
See Also