public interface BatchRecordSequenceListener
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(AerospikeException ae)
This method is called when the command fails.
|
void |
onRecord(BatchRecord record,
int index)
This method is called when a record is received from the server.
|
void |
onSuccess()
This method is called when the command completes successfully.
|
void onRecord(BatchRecord record, int index) throws AerospikeException
The user may throw AerospikeException if the
command should be aborted. If any exception is thrown, parallel command threads
to other nodes will also be terminated and the exception will be propagated back
through the onFailure() call.
record - record instanceindex - index offset into the original BatchRecord array.AerospikeException - if error occurs or scan should be terminated.void onSuccess()
void onFailure(AerospikeException ae)
Copyright © 2012–2023 Aerospike, Inc. All rights reserved.