public class GcMXBeanImp extends Object implements GcMXBean, NotificationListener
Constructor and Description |
---|
GcMXBeanImp() |
Modifier and Type | Method and Description |
---|---|
long |
getDuration() |
String |
getGcInfo() |
static ObjectName |
getObjectName() |
Date |
getWhen() |
void |
handleNotification(Notification notification,
Object handback)
This is called automatically when a gc is fired
|
public static ObjectName getObjectName()
public void handleNotification(Notification notification, Object handback)
handleNotification
in interface NotificationListener
public String getGcInfo()
public Date getWhen()
public long getDuration()
getDuration
in interface GcMXBean
Copyright © 2015. All rights reserved.