Package com.aerospike.client.listener
Interface IndexListener
public interface IndexListener
Asynchronous result notifications for create/drop index commands.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called when an asynchronous command fails.void
onSuccess
(AsyncIndexTask indexTask) This method is called when an asynchronous command completes successfully.
-
Method Details
-
onSuccess
This method is called when an asynchronous command completes successfully.- Parameters:
indexTask
- task monitor that can be used to query for index command completion.
-
onFailure
This method is called when an asynchronous command fails.
-