|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface IFuture<RESULT>
| Method Summary | |
|---|---|
RESULT |
get()
Waits if necessary for the computation to complete, and then retrieves its result. |
RESULT |
get(long timeout,
TimeUnit unit)
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available. |
| Methods inherited from interface java.util.concurrent.Future |
|---|
cancel, isCancelled, isDone |
| Method Detail |
|---|
RESULT get()
throws PogamutInterruptedException
get in interface Future<RESULT>PogamutInterruptedException - if the current thread was interrupted while waiting
RESULT get(long timeout,
TimeUnit unit)
throws PogamutInterruptedException,
PogamutCancellationException,
PogamutTimeoutException
get in interface Future<RESULT>timeout - the maximum time to waitunit - the time unit of the timeout argument
PogamutCancellationException - if the computation was cancelled
PogamutInterruptedException - if the current thread was interrupted while waiting
PogamutTimeoutException - if the wait timed out
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||