IAsyncClientOperate(WritePolicy, CancellationToken, Key, Operation) Method
Asynchronously perform multiple read/write operations on a single key in one batch call.
Create listener, call asynchronous operate and return task monitor.
An 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.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
Task<Record> Operate(
WritePolicy policy,
CancellationToken token,
Key key,
params Operation[] ops
)
- policy WritePolicy
- write configuration parameters, pass in null for defaults
- token CancellationToken
- cancellation token
- key Key
- unique record identifier
- ops Operation
- database operations to perform
TaskRecord