|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrockit.memleak.mlp.AbstractMemLeak.DelayedResult<V>
V - protected abstract class AbstractMemLeak.DelayedResult<V>
| Constructor Summary | |
|---|---|
AbstractMemLeak.DelayedResult()
|
|
| 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. |
protected abstract V |
parseResponse(java.io.DataInputStream dis)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMemLeak.DelayedResult()
| Method Detail |
|---|
public long getChangeTime()
IResultIResult.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)
IResultnotificationToken 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
protected abstract V parseResponse(java.io.DataInputStream dis)
throws java.io.IOException,
GarbageCollectedException,
SpiException
dis -
java.io.IOException
GarbageCollectedException
SpiException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||