|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrockit.memleak.value.ExceptionResult<V>
V
- public class ExceptionResult<V>
Constructor Summary | |
---|---|
ExceptionResult(GarbageCollectedException e)
|
|
ExceptionResult(SpiException e)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionResult(GarbageCollectedException e)
e
- public ExceptionResult(SpiException e)
e
- Method Detail |
---|
public long getChangeTime()
IResult
IResult.isDone()
is false, returns the time when the request
was sent. If IResult.isDone()
is true, returns the time when the
response was received.
getChangeTime
in interface IResult<V>
public boolean isDone()
IResult
isDone
in interface IResult<V>
public boolean isDone(java.lang.Object notificationToken)
IResult
notificationToken
is added to the token set that will be
given to notification listeners once the result is available. And false
is returned.
isDone
in interface IResult<V>
public V get() throws GarbageCollectedException, SpiException
IResult
get
in interface IResult<V>
GarbageCollectedException
SpiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |