|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Feature>
com.jrockit.memleak.Feature
public enum Feature
Enumeration of optional API level features. Can be used to query an
IMemLeak
implementation of its supported features without actually
trying to use those features.
Enum Constant Summary | |
---|---|
ALLOCATION_TRACES
The ability to grab allocation traces. |
|
CLASS_IDS
The ability to obtain unique IDs for different types with the same class name (loaded by different class loaders). |
|
CLASS_IDS_ARE_OBJECT_IDS
The ability to use a class ID as the object ID of the corresponding instance of Class . |
|
CLASS_LOADERS
The ability to find out the class loader of a class. |
|
CLASS_MODIFIERS
The ability to find out modifiers for classes/interfaces. |
|
CLASS_NAME_OF_OBJECT
The ability to find out the class name of an object, given its ID. |
|
DELETE_ALL_OBJECT_IDS
The ability to delete all object IDs at once, without knowing them all. |
|
DELETE_OBJECT_ID
The ability to delete an object ID at all, so that it will be invalid until reused. |
|
FIELD_MODIFIERS
The ability to find out modifiers for static/instance fields. |
|
GC_TRIGGER
The ability to trigger a garbage collection. |
|
INSTANCE_PATHS_TO_ROOT
The ability to find the shortest path(s) from a given object to any GC root. |
|
INSTANCES_OF_TYPE
The ability to get all (possibly with a limit) instances of a given type. |
|
METHOD_MODIFIERS
The ability to find out modifiers for methods, where referenced. |
|
TREND_ANALYSIS
The ability to do trend analysis. |
|
TYPED_SERVER_EXCEPTIONS
The ability to find the type of server error that may have occurred. |
Method Summary | |
---|---|
static Feature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Feature[] |
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 Feature TREND_ANALYSIS
public static final Feature ALLOCATION_TRACES
public static final Feature GC_TRIGGER
public static final Feature DELETE_OBJECT_ID
public static final Feature DELETE_ALL_OBJECT_IDS
public static final Feature INSTANCE_PATHS_TO_ROOT
public static final Feature INSTANCES_OF_TYPE
public static final Feature CLASS_NAME_OF_OBJECT
public static final Feature CLASS_IDS
public static final Feature CLASS_IDS_ARE_OBJECT_IDS
Class
. That is, the class IDs and object
IDs share the same value space.
This is an implementation detail that most often is irrelevant, but for some advanced usage it can be significant.
public static final Feature CLASS_LOADERS
public static final Feature CLASS_MODIFIERS
public static final Feature FIELD_MODIFIERS
public static final Feature METHOD_MODIFIERS
public static final Feature TYPED_SERVER_EXCEPTIONS
Method Detail |
---|
public static Feature[] values()
for (Feature c : Feature.values()) System.out.println(c);
public static Feature 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |