Package com.aerospike.client.listener
Interface BatchOperateListListener
public interface BatchOperateListListener
Asynchronous result notifications for batch operate commands with variable operations.
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when the command fails.voidonSuccess(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.recordwill 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.
-