Package org.eclipse.mat.parser.index
Enum IndexManager.Index
- All Implemented Interfaces:
Serializable
,Comparable<IndexManager.Index>
,java.lang.constant.Constable
- Enclosing class:
- IndexManager
The different index types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionArray to size: array (or non-default sized object) id to size (as an encoded int)Dominated: object id to N dominated object idsDominator of: object id to the id of its dominatorRetained size cache.Index to address: object id to address (as a long)Inbounds: object id to N outbound object idsObject to class: object id to 1 class idObject to retained size: object in dominator tree to retained size (as a long)Outbounds: object id to N inbound object ids -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate aFile
descriptor based on the prefix and filenamestatic IndexManager.Index
Returns the enum constant of this type with the specified name.static IndexManager.Index[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INBOUND
Inbounds: object id to N outbound object ids -
OUTBOUND
Outbounds: object id to N inbound object ids -
O2CLASS
Object to class: object id to 1 class id -
IDENTIFIER
Index to address: object id to address (as a long) -
A2SIZE
Array to size: array (or non-default sized object) id to size (as an encoded int) -
DOMINATED
Dominated: object id to N dominated object ids -
O2RETAINED
Object to retained size: object in dominator tree to retained size (as a long) -
DOMINATOR
Dominator of: object id to the id of its dominator -
I2RETAINED
Retained size cache. Retained size cache for a class: class+all instances. Retained size cache for a class loader: loader+all classes+all instances.- Since:
- 1.2
-
-
Field Details
-
filename
The file name for the index reader
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFile
Create aFile
descriptor based on the prefix and filename- Parameters:
prefix
- the prefix based on the snapshot name- Returns:
- the file to use
-