Package com.aerospike.client.listener
Interface TaskStatusListener
public interface TaskStatusListener
Asynchronous result notifications for index status command.
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when an asynchronous command fails.voidonSuccess(int status) This method is called when an asynchronous command completes successfully.
-
Method Details
-
onSuccess
void onSuccess(int status) This method is called when an asynchronous command completes successfully.- Parameters:
status- task status (seeTask)
-
onFailure
This method is called when an asynchronous command fails.
-