Package com.aerospike.client.listener
Interface BatchRecordSequenceListener
public interface BatchRecordSequenceListener
Asynchronous result notifications for batch operate commands.
The results are sent one record at a time.
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when the command fails.voidonRecord(BatchRecord record, int index) This method is called when a record is received from the server.voidThis method is called when the command completes successfully.
-
Method Details
-
onRecord
This method is called when a record is received from the server. The receive sequence is not ordered.- Parameters:
record- record instanceindex- index offset into the original BatchRecord array.
-
onSuccess
void onSuccess()This method is called when the command completes successfully. -
onFailure
This method is called when the command fails.
-