Package com.aerospike.client.async
Class AsyncIndexTask
java.lang.Object
com.aerospike.client.async.AsyncIndexTask
Async index task monitor.
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncIndexTask(IAerospikeClient client, String namespace, String indexName, boolean isCreate) Initialize task with fields needed to query server nodes. -
Method Summary
Modifier and TypeMethodDescriptionvoidqueryStatus(EventLoop eventLoop, InfoPolicy policy, Node node, TaskStatusListener listener) Asynchronously query node for task completion status.
-
Constructor Details
-
AsyncIndexTask
public AsyncIndexTask(IAerospikeClient client, String namespace, String indexName, boolean isCreate) Initialize task with fields needed to query server nodes.
-
-
Method Details
-
queryStatus
public void queryStatus(EventLoop eventLoop, InfoPolicy policy, Node node, TaskStatusListener listener) Asynchronously query node for task completion status. All nodes must respond with load_pct of 100 to be considered done.
-