com.aerospike.client.task
Class IndexTask

java.lang.Object
  extended by com.aerospike.client.task.Task
      extended by com.aerospike.client.task.IndexTask

public final class IndexTask
extends Task

Task used to poll for long running create index completion.


Constructor Summary
IndexTask()
          Initialize task with fields needed to query server nodes.
IndexTask(com.aerospike.client.cluster.Cluster cluster, java.lang.String namespace, java.lang.String indexName)
          Initialize task with fields needed to query server nodes.
 
Method Summary
 boolean isDone()
          Query all nodes for task completion status.
 
Methods inherited from class com.aerospike.client.task.Task
waitTillComplete, waitTillComplete
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexTask

public IndexTask(com.aerospike.client.cluster.Cluster cluster,
                 java.lang.String namespace,
                 java.lang.String indexName)
Initialize task with fields needed to query server nodes.


IndexTask

public IndexTask()
Initialize task with fields needed to query server nodes.

Method Detail

isDone

public boolean isDone()
               throws AerospikeException
Query all nodes for task completion status.

Specified by:
isDone in class Task
Throws:
AerospikeException