public interface FutureResult<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Wait for the result to be available and return it's value
|
T |
get(long timeout,
java.util.concurrent.TimeUnit unit)
Wait for the result to be available up to given time and return it's value
|
java.lang.String |
getPollingUri()
Get URI used for polling
|
boolean |
isDone()
Checks if the result is available
|
boolean isDone()
GoodDataException - when polling fails or the thread was interruptedT get()
GoodDataException - when polling fails or the thread was interruptedT get(long timeout, java.util.concurrent.TimeUnit unit)
timeout - timeout valueunit - timeout unitGoodDataException - when polling fails, the timeout expires or the thread was interruptedjava.lang.String getPollingUri()
Copyright © 2016. All Rights Reserved.