public interface RecordSequenceListener
|Modifier and Type||Method and Description|
This method is called when an asynchronous batch get or scan command fails.
This method is called when an asynchronous record is received from the server.
This method is called when the asynchronous batch get or scan command completes.
void onRecord(Key key, Record record) throws AerospikeException
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
key- unique record identifier
record- record instance, will be null if the key is not found
AerospikeException- if error occurs or scan should be terminated.
void onFailure(AerospikeException exception)
exception- error that occurred
Copyright © 2012–2020 Aerospike, Inc. All rights reserved.