com.ibm.java.diagnostics.healthcenter.api.nativememory

Interface NativeMemoryCategoryEvent

  • All Superinterfaces:
    BaseEvent


    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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      long getAllocatedDeep()
      Gets the number of objects allocated for this category and all of its subcategories.
      long getAllocatedShallow()
      Gets the number of objects allocated for this category only.
      long getBytesDeep()
      Gets the actual memory use for this category and all of its subcategories.
      long getBytesShallow()
      Gets the actual memory use for this category only.
      java.lang.String getName()
      Gets the name of this memory category.
      java.lang.String getParent()
      Gets the parent category of this category.
    • Method Detail

      • getName

        java.lang.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

        java.lang.String getParent()
        Gets the parent category of this category.
        Returns:
        the parent NativeMemoryCategory object.
© Copyright 2012, 2016 IBM Corporation.