Package com.aerospike.client.listener
Interface BatchListListener
public interface BatchListListener
Asynchronous result notifications for batch get commands with variable bins per key.
The result is sent in a single list.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called when the command fails.void
This method is called when the command completes successfully.
-
Method Details
-
onSuccess
This method is called when the command completes successfully.- Parameters:
records
- record instances,BatchRecord.record
will be null if the key is not found
-
onFailure
This method is called when the command fails.
-