Class NativeMemoryCategoryImpl
java.lang.Object
com.ibm.java.diagnostics.healthcenter.api.nativememory.impl.NativeMemoryCategoryImpl
- All Implemented Interfaces:
NativeMemoryCategory
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the number of objects allocated for this category and all of its subcategories.longGets the number of objects allocated for this category only.longGets the actual memory use for this category and all of its subcategories.longGets the actual memory use for this category only.Gets all subcategories of this category.Gets the memory data for this category.getName()Gets the name of this memory category.Gets the parent category of this category.
-
Method Details
-
getAllocatedShallow
public long getAllocatedShallow()Description copied from interface:NativeMemoryCategoryGets the number of objects allocated for this category only.- Specified by:
getAllocatedShallowin interfaceNativeMemoryCategory- Returns:
- the number of objects.
-
getBytesDeep
public long getBytesDeep()Description copied from interface:NativeMemoryCategoryGets the actual memory use for this category and all of its subcategories.- Specified by:
getBytesDeepin interfaceNativeMemoryCategory- Returns:
- the memory value in bytes.
-
getBytesShallow
public long getBytesShallow()Description copied from interface:NativeMemoryCategoryGets the actual memory use for this category only.- Specified by:
getBytesShallowin interfaceNativeMemoryCategory- Returns:
- the memory value in bytes.
-
getAllocatedDeep
public long getAllocatedDeep()Description copied from interface:NativeMemoryCategoryGets the number of objects allocated for this category and all of its subcategories.- Specified by:
getAllocatedDeepin interfaceNativeMemoryCategory- Returns:
- the number of objects.
-
getChildren
Description copied from interface:NativeMemoryCategoryGets all subcategories of this category.- Specified by:
getChildrenin interfaceNativeMemoryCategory- Returns:
- an array of NativeMemoryCategory objects, representing the subcategories.
-
getName
Description copied from interface:NativeMemoryCategoryGets the name of this memory category.- Specified by:
getNamein interfaceNativeMemoryCategory- Returns:
- the memory category name.
-
getParent
Description copied from interface:NativeMemoryCategoryGets the parent category of this category.- Specified by:
getParentin interfaceNativeMemoryCategory- Returns:
- the parent NativeMemoryCategory object.
-
getMemoryBreakdownData
Description copied from interface:NativeMemoryCategoryGets the memory data for this category.- Specified by:
getMemoryBreakdownDatain interfaceNativeMemoryCategory- Returns:
- an array of memory use over time.
-