Class ObjectAllocationEventImpl
java.lang.Object
com.ibm.java.diagnostics.healthcenter.api.gc.impl.ObjectAllocationEventImpl
- All Implemented Interfaces:
ObjectAllocationEvent
-
Constructor Summary
ConstructorsConstructorDescriptionObjectAllocationEventImpl(String objectName, double time, String callStack, long allocationSize) ObjectAllocationEventImpl(String objectName, double time, String callStack, long allocationSize, String requestSite) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the size of this allocation, in bytes.Returns a comma separated call stack for the object allocation event.longReturns the time, in milliseconds since epoch, when this allocation occurred.Returns the object name for this allocation event.Returns the request site for this allocation event.
-
Constructor Details
-
ObjectAllocationEventImpl
-
ObjectAllocationEventImpl
-
-
Method Details
-
getCallStack
Description copied from interface:ObjectAllocationEventReturns a comma separated call stack for the object allocation event.- Specified by:
getCallStackin interfaceObjectAllocationEvent- Returns:
- a String of comma separated methods.
-
getObjectName
Description copied from interface:ObjectAllocationEventReturns the object name for this allocation event.- Specified by:
getObjectNamein interfaceObjectAllocationEvent- Returns:
- the object name.
-
getEventTime
public long getEventTime()Description copied from interface:ObjectAllocationEventReturns the time, in milliseconds since epoch, when this allocation occurred.- Specified by:
getEventTimein interfaceObjectAllocationEvent- Returns:
- the time of the allocation.
-
getAllocationSize
public long getAllocationSize()Description copied from interface:ObjectAllocationEventReturns the size of this allocation, in bytes.- Specified by:
getAllocationSizein interfaceObjectAllocationEvent- Returns:
- the size in bytes.
-
getRequestSite
Description copied from interface:ObjectAllocationEventReturns the request site for this allocation event.- Specified by:
getRequestSitein interfaceObjectAllocationEvent- Returns:
- the object name.
-