RecordSequenceListenerOnRecord Method

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

The user may throw a exception 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 commandFailed() call.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
void OnRecord(
	Key key,
	Record record
)

Parameters

key
Type: Aerospike.ClientKey
unique record identifier
record
Type: Aerospike.ClientRecord
record instance, will be null if the key is not found
Exceptions

ExceptionCondition
AerospikeExceptionif error occurs or scan should be terminated.
See Also

Reference