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 TypeMethodDescriptionvoid
This method is called when the command fails.void
This method is called when an asynchronous batch record is received from the server.void
This 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.record
will 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.
-