RecordSequenceListener Interface

Aerospike
Asynchronous result notifications for batch get and scan commands. The results are sent one record at a time.

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

C#
public interface RecordSequenceListener

The RecordSequenceListener type exposes the following members.

Methods

  NameDescription
Public methodOnFailure
This method is called when an asynchronous batch get or scan command fails.
Public methodOnRecord
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.

Public methodOnSuccess
This method is called when the asynchronous batch get or scan command completes.
Top
See Also

Reference