public abstract class Task extends Object
Constructor and Description |
---|
Task(com.aerospike.client.cluster.Cluster cluster,
boolean done)
Initialize task with fields needed to query server nodes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDone()
Has task completed.
|
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.
|
public Task(com.aerospike.client.cluster.Cluster cluster, boolean done)
public final void waitTillComplete() throws AerospikeException
AerospikeException
public final void waitTillComplete(int sleepInterval) throws AerospikeException
AerospikeException
public final boolean isDone() throws AerospikeException
AerospikeException
Copyright © 2012–2014 Aerospike, Inc. All rights reserved.