public class TreeMapCollectionExtractor extends MapCollectionExtractorBase
IMapExtractor.EntryObject| Constructor and Description |
|---|
TreeMapCollectionExtractor(String sizeField,
String keyField,
String valueField) |
| Modifier and Type | Method and Description |
|---|---|
IObjectArray |
extractEntries(IObject coll)
Extracts the array containing the collection content
|
int[] |
extractEntryIds(IObject treeMap)
Returns the object ids (int) for all objects which are contained in the
collection
|
Double |
getCollisionRatio(IObject collection)
Calculates the collision ratio in the collection
|
Double |
getFillRatio(IObject coll)
Calculate the fill ration of a collection
|
Integer |
getNumberOfNotNullElements(IObject coll)
Returns the number of non-null elements in the collection.
|
Integer |
getSize(IObject coll)
Extract the size of the collection
|
boolean |
hasCollisionRatio()
Check if the extractor can calculate collision ratio
|
boolean |
hasExtractableArray()
Return true if the collection array based and the array can be extracted
from the heap dump
|
boolean |
hasExtractableContents()
Check if the collection has extractable contents
|
boolean |
hasFillRatio()
Check if fill ratio for the collection can be calculated, i.e.
|
boolean |
hasSize()
Check if the size of the collection can be extracted
|
extractMapEntries, getCapacity, hasCapacitypublic boolean hasExtractableArray()
ICollectionExtractorpublic IObjectArray extractEntries(IObject coll) throws SnapshotException
ICollectionExtractorSnapshotExceptionpublic boolean hasExtractableContents()
ICollectionExtractorpublic int[] extractEntryIds(IObject treeMap) throws SnapshotException
ICollectionExtractorSnapshotExceptionpublic boolean hasSize()
ICollectionExtractorpublic Integer getSize(IObject coll) throws SnapshotException
ICollectionExtractorSnapshotExceptionpublic Integer getNumberOfNotNullElements(IObject coll) throws SnapshotException
ICollectionExtractorSnapshotExceptionpublic boolean hasCollisionRatio()
IMapExtractorpublic Double getCollisionRatio(IObject collection)
IMapExtractorpublic boolean hasFillRatio()
ICollectionExtractorpublic Double getFillRatio(IObject coll) throws SnapshotException
ICollectionExtractorSnapshotException