Class NativeMemoryCategoryEventObject
java.lang.Object
com.ibm.java.diagnostics.healthcenter.api.nativememory.impl.NativeMemoryCategoryEventObject
- All Implemented Interfaces:
BaseEvent,NativeMemoryCategoryEvent
-
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.longgetName()Gets the name of this memory category.Gets the parent category of this category.
-
Method Details
-
getAllocatedShallow
public long getAllocatedShallow()Description copied from interface:NativeMemoryCategoryEventGets the number of objects allocated for this category only.- Specified by:
getAllocatedShallowin interfaceNativeMemoryCategoryEvent- Returns:
- the number of objects.
-
getBytesDeep
public long getBytesDeep()Description copied from interface:NativeMemoryCategoryEventGets the actual memory use for this category and all of its subcategories.- Specified by:
getBytesDeepin interfaceNativeMemoryCategoryEvent- Returns:
- the memory value in bytes.
-
getBytesShallow
public long getBytesShallow()Description copied from interface:NativeMemoryCategoryEventGets the actual memory use for this category only.- Specified by:
getBytesShallowin interfaceNativeMemoryCategoryEvent- Returns:
- the memory value in bytes.
-
getAllocatedDeep
public long getAllocatedDeep()Description copied from interface:NativeMemoryCategoryEventGets the number of objects allocated for this category and all of its subcategories.- Specified by:
getAllocatedDeepin interfaceNativeMemoryCategoryEvent- Returns:
- the number of objects.
-
getName
Description copied from interface:NativeMemoryCategoryEventGets the name of this memory category.- Specified by:
getNamein interfaceNativeMemoryCategoryEvent- Returns:
- the memory category name.
-
getParent
Description copied from interface:NativeMemoryCategoryEventGets the parent category of this category.- Specified by:
getParentin interfaceNativeMemoryCategoryEvent- Returns:
- the parent NativeMemoryCategory object.
-
getEventTime
public long getEventTime()- Specified by:
getEventTimein interfaceBaseEvent- Returns:
- the time the event took place in milliseconds since epoch
-