public interface BatchSequenceListener
Modifier and Type | Method and Description |
---|---|
void |
onFailure(AerospikeException ae)
This method is called when the command fails.
|
void |
onRecord(BatchRead record)
This method is called when an asynchronous batch record is received from the server.
|
void |
onSuccess()
This method is called when the command completes successfully.
|
void onRecord(BatchRead record)
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 instance, BatchRecord.record
will be null if the key is not foundAerospikeException
- if error occurs or batch should be terminated.void onSuccess()
void onFailure(AerospikeException ae)
Copyright © 2012–2023 Aerospike, Inc. All rights reserved.