Package com.aerospike.client.listener
Interface RecordListener
public interface RecordListener
Asynchronous result notifications for get or operate commands.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called when an asynchronous get or operate command fails.void
This method is called when an asynchronous get or operate command completes successfully.
-
Method Details
-
onSuccess
This method is called when an asynchronous get or operate command completes successfully.- Parameters:
key
- unique record identifierrecord
- record instance if found, otherwise null
-
onFailure
This method is called when an asynchronous get or operate command fails.
-