Package com.aerospike.client.listener
Interface ExistsArrayListener
public interface ExistsArrayListener
Asynchronous result notifications for batch exists commands.
The result is sent in a single array.
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when the command fails.voidThis method is called when the command completes successfully.
-
Method Details
-
onSuccess
This method is called when the command completes successfully. The returned boolean array is in positional order with the original key array order.- Parameters:
keys- unique record identifiersexists- whether keys exists on server
-
onFailure
This method is called when the command fails. The AerospikeException is likely to beAerospikeException.BatchExistswhich contains results for keys that did complete.
-