Package com.aerospike.client.listener
Interface BatchSequenceListener
public interface BatchSequenceListener
Asynchronous result notifications for batch get commands with variable bins per key.
The results are sent one batch record at a time.
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when the command fails.voidThis method is called when an asynchronous batch record is received from the server.voidThis method is called when the command completes successfully.
-
Method Details
-
onRecord
This method is called when an asynchronous batch record is received from the server. The receive sequence is not ordered.- Parameters:
record- record instance,BatchRecord.recordwill be null if the key is not found
-
onSuccess
void onSuccess()This method is called when the command completes successfully. -
onFailure
This method is called when the command fails.
-