Interface NativeMemoryCategoryEvent

All Superinterfaces:
BaseEvent
All Known Implementing Classes:
NativeMemoryCategoryEventObject

public interface NativeMemoryCategoryEvent extends BaseEvent
This class contains information about the different areas, or categories, in the JVM that are using native memory. Categories might include, for example, JIT, Threads, or Class Libraries. Categories have a hierarchy, for example, the JRE category contains the Class Libraries category, which in turn contains the VM Class Libraries category.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the number of objects allocated for this category and all of its subcategories.
    long
    Gets the number of objects allocated for this category only.
    long
    Gets the actual memory use for this category and all of its subcategories.
    long
    Gets the actual memory use for this category only.
    Gets the name of this memory category.
    Gets the parent category of this category.

    Methods inherited from interface com.ibm.java.diagnostics.healthcenter.api.BaseEvent

    getEventTime
  • Method Details

    • getName

      String getName()
      Gets the name of this memory category.
      Returns:
      the memory category name.
    • getAllocatedDeep

      long getAllocatedDeep()
      Gets the number of objects allocated for this category and all of its subcategories.
      Returns:
      the number of objects.
    • getAllocatedShallow

      long getAllocatedShallow()
      Gets the number of objects allocated for this category only.
      Returns:
      the number of objects.
    • getBytesDeep

      long getBytesDeep()
      Gets the actual memory use for this category and all of its subcategories.
      Returns:
      the memory value in bytes.
    • getBytesShallow

      long getBytesShallow()
      Gets the actual memory use for this category only.
      Returns:
      the memory value in bytes.
    • getParent

      String getParent()
      Gets the parent category of this category.
      Returns:
      the parent NativeMemoryCategory object.