Class AsyncIndexTask

java.lang.Object
com.aerospike.client.async.AsyncIndexTask

public class AsyncIndexTask extends Object
Async index task monitor.
  • 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.