Package com.aerospike.client.task
Class IndexTask
java.lang.Object
com.aerospike.client.task.Task
com.aerospike.client.task.IndexTask
Task used to poll for long running create index completion.
-
Field Summary
Fields inherited from class com.aerospike.client.task.Task
COMPLETE, IN_PROGRESS, NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildExistsCommand(String namespace, String indexName) static StringbuildStatusCommand(String namespace, String indexName) static intparseExistsResponse(String command, String response) static intparseStatusResponse(String command, String response, boolean isCreate) intQuery all nodes for task completion status.Methods inherited from class com.aerospike.client.task.Task
isDone, waitTillComplete, waitTillComplete, waitTillComplete
-
Constructor Details
-
Method Details
-
queryStatus
public int queryStatus()Query all nodes for task completion status.- Specified by:
queryStatusin classTask
-
buildStatusCommand
-
parseStatusResponse
-
buildExistsCommand
-
parseExistsResponse
-