Asynchronously perform multiple read/write operations on a single key in one batch call.
Create listener, call asynchronous operate and return task monitor.
Namespace: Aerospike.ClientAn example would be to add an integer value to an existing record and then read the result, all in one database call.
The server executes operations in the same order as the operations array. Both scalar bin operations (Operation) and CDT bin operations (ListOperation, MapOperation) can be performed in same call.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.0.1.0 (4.0.1)
Syntax
Parameters
- policy
- Type: Aerospike.Client WritePolicy
write configuration parameters, pass in null for defaults
- token
- Type: System.Threading CancellationToken
cancellation token
- key
- Type: Aerospike.Client Key
unique record identifier
- operations
- Type: Aerospike.Client Operation
database operations to perform
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if queue is full |
See Also