public interface PollingFuture<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
ExecutionException |
getException() |
Date |
getTimestamp() |
boolean |
isDone() |
boolean |
isTimedOut() |
T get() throws ExecutionException, IllegalStateException, TimeoutException
ExecutionException - - execution failed and an exception was raised during workIllegalStateException - - execution not done yet. Call this method only when @{link isDone() returns true.TimeoutException - - execution timed out and result is not available.boolean isDone()
boolean isTimedOut()
ExecutionException getException()
Date getTimestamp()
Copyright © GigaSpaces.