|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aerospike.client.task.Task
public abstract class Task
Task used to poll for server task completion.
Constructor Summary | |
---|---|
Task(com.aerospike.client.cluster.Cluster cluster,
boolean done)
Initialize task with fields needed to query server nodes. |
Method Summary | |
---|---|
abstract boolean |
isDone()
Query all nodes for task completion status. |
void |
waitTillComplete()
Wait for asynchronous task to complete using default sleep interval. |
void |
waitTillComplete(int sleepInterval)
Wait for asynchronous task to complete using given sleep interval. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Task(com.aerospike.client.cluster.Cluster cluster, boolean done)
Method Detail |
---|
public final void waitTillComplete() throws AerospikeException
AerospikeException
public final void waitTillComplete(int sleepInterval) throws AerospikeException
AerospikeException
public abstract boolean isDone() throws AerospikeException
AerospikeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |