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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildExistsCommand
(String namespace, String indexName) static String
buildStatusCommand
(String namespace, String indexName) static int
parseExistsResponse
(String command, String response) static int
parseStatusResponse
(String command, String response, boolean isCreate) int
Query 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:
queryStatus
in classTask
-
buildStatusCommand
-
parseStatusResponse
-
buildExistsCommand
-
parseExistsResponse
-