|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ITruncatable.Reason>
com.jrockit.memleak.ITruncatable.Reason
public static enum ITruncatable.Reason
Standard reasons for truncation.
| Enum Constant Summary | |
|---|---|
CANCELED
The operation was canceled. |
|
COMPLEXITY_LIMIT
The operation couldn't be completed within the allowed complexity. |
|
ELEMENT_LIMIT
The maximum specified number of elements was exceeded. |
|
EMPTY_REPLY
A temporary reason until the implementation and interface has been stabilized. |
|
EXCEPTION
An exception occurred. |
|
TIMEOUT
The operation couldn't be completed in the allowed time. |
|
UNSUPPORTED
The operation isn't supported. |
|
| Field Summary | |
|---|---|
static int |
ENUM_LENGTH
The number of enum values. |
| Method Summary | |
|---|---|
ITruncatable.Reason |
lowest(ITruncatable.Reason other)
|
static ITruncatable.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ITruncatable.Reason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ITruncatable.Reason TIMEOUT
public static final ITruncatable.Reason COMPLEXITY_LIMIT
public static final ITruncatable.Reason ELEMENT_LIMIT
public static final ITruncatable.Reason UNSUPPORTED
UnsupportedOperationException instead. Currently,
no way is preferred over the other, but this may change.
public static final ITruncatable.Reason EMPTY_REPLY
public static final ITruncatable.Reason EXCEPTION
public static final ITruncatable.Reason CANCELED
| Field Detail |
|---|
public static int ENUM_LENGTH
values().length.
| Method Detail |
|---|
public static ITruncatable.Reason[] values()
for (ITruncatable.Reason c : ITruncatable.Reason.values()) System.out.println(c);
public static ITruncatable.Reason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic ITruncatable.Reason lowest(ITruncatable.Reason other)
other - another ITruncatable.Reason or null
ITruncatable.Reason of this and
other
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||