|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the element typepublic interface ITruncatable<T>
Array result wrapper in many ways similar to Future.
| Nested Class Summary | |
|---|---|
static class |
ITruncatable.Reason
Standard reasons for truncation. |
| Method Summary | |
|---|---|
T[] |
get()
The actual result array, possibly truncated. |
java.lang.Exception |
getException()
If an exception was thrown, returns that Exception. |
ITruncatable.Reason |
getTruncationReason()
If the result was truncated, returns a ITruncatable.Reason for the truncation. |
boolean |
isTruncated()
|
| Methods inherited from interface com.jrockit.memleak.IResult |
|---|
getChangeTime, isDone, isDone |
| Method Detail |
|---|
T[] get()
get in interface IResult<T[]>boolean isTruncated()
ITruncatable.Reason getTruncationReason()
ITruncatable.Reason for the truncation.
Otherwise, null is returned. Note that if getException()
returns non-null, this method will also return non-null, most probably
ITruncatable.Reason.EXCEPTION.
java.lang.Exception getException()
Exception. Otherwise,
null is returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||