Package com.aerospike.client.listener
Interface IndexListener
public interface IndexListener
Asynchronous result notifications for create/drop index commands.
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when an asynchronous command fails.voidonSuccess(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.
-