Asynchronously perform multiple read/write operations on a single key in one batch call.
An example would be to add an integer value to an existing record and then
read the result, all in one database call.
Namespace: Aerospike.ClientThis method schedules the operate command with a channel selector and returns. Another thread will process the command and send the results to the listener.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.0.0.0 (3.0.0)
Syntax
Parameters
- policy
- Type: Aerospike.Client WritePolicy
write configuration parameters, pass in null for defaults
- listener
- Type: Aerospike.Client RecordListener
where to send results, pass in null for fire and forget
- 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