Package com.aerospike.client.listener
Interface BatchOperateListListener
public interface BatchOperateListListener
Asynchronous result notifications for batch operate commands with variable operations.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called when the command fails.void
onSuccess
(List<BatchRecord> records, boolean status) 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 an error occurred for that key.status
- true if all records returned success.
-
onFailure
This method is called when the command fails.
-