com.ibm.java.diagnostics.healthcenter.api.gc

Interface ObjectAllocationEvent



  • public interface ObjectAllocationEvent
    This class is used to store a single object allocation event. An event consists of the name of the object, its call stack, a time, and the size of the allocation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      long getAllocationSize()
      Returns the size of this allocation, in bytes.
      java.lang.String getCallStack()
      Returns a comma separated call stack for the object allocation event.
      long getEventTime()
      Returns the time, in milliseconds since epoch, when this allocation occurred.
      java.lang.String getObjectName()
      Returns the object name for this allocation event.
      java.lang.String getRequestSite()
      Returns the request site for this allocation event.
    • Method Detail

      • getCallStack

        java.lang.String getCallStack()
        Returns a comma separated call stack for the object allocation event.
        Returns:
        a String of comma separated methods.
      • getObjectName

        java.lang.String getObjectName()
        Returns the object name for this allocation event.
        Returns:
        the object name.
      • getRequestSite

        java.lang.String getRequestSite()
        Returns the request site for this allocation event.
        Returns:
        the object name.
      • getEventTime

        long getEventTime()
        Returns the time, in milliseconds since epoch, when this allocation occurred.
        Returns:
        the time of the allocation.
      • getAllocationSize

        long getAllocationSize()
        Returns the size of this allocation, in bytes.
        Returns:
        the size in bytes.
© Copyright 2012, 2016 IBM Corporation.