|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- public interface IResult<V>
Result wrapper in many ways similar to Future
.
Method Summary | |
---|---|
V |
get()
The actual result. |
long |
getChangeTime()
Get the time stamp of when this result last changed state. |
boolean |
isDone()
Returns true if this task completed. |
boolean |
isDone(java.lang.Object notificationToken)
Checks if the result is available. |
Method Detail |
---|
boolean isDone()
boolean isDone(java.lang.Object notificationToken)
notificationToken
is added to the token set that will be
given to notification listeners once the result is available. And false
is returned.
notificationToken
-
long getChangeTime()
isDone()
is false, returns the time when the request
was sent. If isDone()
is true, returns the time when the
response was received.
V get() throws GarbageCollectedException, SpiException
GarbageCollectedException
SpiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |