|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICollectionExtractor
CollectionExtractors are used to extract from the heap dump the contents of an object which represents a collection of a certain type. It knows the internal details of how the collection contents are stored and if the collection has certain properties or not
Method Summary | |
---|---|
IObjectArray |
extractEntries(IObject collection)
Extracts the array containing the collection content |
int[] |
extractEntryIds(IObject collection)
Returns the object ids (int) for all objects which are contained in the collection |
Integer |
getCapacity(IObject collection)
Return the capacity of the collection, if applicable |
Double |
getFillRatio(IObject collection)
Calculate the fill ration of a collection |
Integer |
getNumberOfNotNullElements(IObject collection)
Returns the number of non-null elements in the collection. |
Integer |
getSize(IObject collection)
Extract the size of the collection |
boolean |
hasCapacity()
Check if the collection has capacity, e.g. |
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 |
Method Detail |
---|
boolean hasSize()
Integer getSize(IObject collection) throws SnapshotException
collection
-
SnapshotException
boolean hasCapacity()
Integer getCapacity(IObject collection) throws SnapshotException
collection
-
SnapshotException
boolean hasFillRatio()
Double getFillRatio(IObject collection) throws SnapshotException
collection
-
SnapshotException
boolean hasExtractableContents()
int[] extractEntryIds(IObject collection) throws SnapshotException
collection
-
SnapshotException
boolean hasExtractableArray()
IObjectArray extractEntries(IObject collection) throws SnapshotException
collection
-
SnapshotException
Integer getNumberOfNotNullElements(IObject collection) throws SnapshotException
collection
-
SnapshotException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |