BatchRecordSequenceListenerOnRecord Method

Aerospike
This method is called when a record is received from the server. The receive sequence is not ordered.

This method is not thread-safe. Multiple async completion port threads may be calling this listener method simultaneously. All shared data in the callback must be handled in a thread-safe manner.

The user may throw AerospikeException if the command should be aborted. If any exception is thrown, parallel command threads to other nodes will also be terminated and the exception will be propagated back through the OnFailure() call.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.3.1.0 (5.3.1)
Syntax

C#
void OnRecord(
	BatchRecord record,
	int index
)

Parameters

record
Type: Aerospike.ClientBatchRecord
record instance
index
Type: SystemInt32
index offset into the original BatchRecord array.
See Also

Reference