Package com.aerospike.client.listener
Interface WriteListener
public interface WriteListener
Asynchronous result notifications for put, append, prepend, add, delete and touch commands.
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when an asynchronous write command fails.voidThis method is called when an asynchronous write command completes successfully.
-
Method Details
-
onSuccess
This method is called when an asynchronous write command completes successfully.- Parameters:
key- unique record identifier
-
onFailure
This method is called when an asynchronous write command fails.
-