|
JProfiler API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Liveness>
com.jprofiler.api.platform.parameters.Liveness
public enum Liveness
Represents all supported liveness types.
These constants are used as parameters in various Connection
methods.
Enum Constant Summary | |
---|---|
ALL
Live and garbage collected objects. |
|
GCED
Garbage collected objects only. |
|
LIVE
Live objects only. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns a verbose description of the liveness type. |
java.lang.String |
toString()
|
static Liveness |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Liveness[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Liveness LIVE
public static final Liveness GCED
public static final Liveness ALL
Method Detail |
---|
public static final Liveness[] values()
for(Liveness c : Liveness.values()) System.out.println(c);
public static Liveness 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 namepublic java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<Liveness>
|
JProfiler API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |