public interface BatchRecordArrayListener
Modifier and Type | Method and Description |
---|---|
void |
onFailure(BatchRecord[] records,
AerospikeException ae)
This method is called when one or more keys fail.
|
void |
onSuccess(BatchRecord[] records,
boolean status)
This method is called when the command completes successfully.
|
void onSuccess(BatchRecord[] records, boolean status)
records
- record instances, always populated.status
- true if all records returned success.void onFailure(BatchRecord[] records, AerospikeException ae)
records
- record instances, always populated. BatchRecord.resultCode
indicates if an error occurred for each record instance.ae
- error that occurredCopyright © 2012–2023 Aerospike, Inc. All rights reserved.