org.xmlBlaster.util.admin.extern
Class DefaultLowMemoryListener
java.lang.Object
org.xmlBlaster.util.admin.extern.DefaultLowMemoryListener
- All Implemented Interfaces:
- java.util.EventListener, javax.management.NotificationListener
class DefaultLowMemoryListener
- extends java.lang.Object
- implements javax.management.NotificationListener
The default handler just logs the situation or exits if configured.
Field Summary |
(package private) boolean |
exitOnThreshold
|
private static java.util.logging.Logger |
log
|
(package private) javax.management.MBeanServer |
mbeanServer
|
Method Summary |
void |
handleNotification(javax.management.Notification notification,
java.lang.Object handback)
Called when memory threshold is reached. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final java.util.logging.Logger log
exitOnThreshold
boolean exitOnThreshold
mbeanServer
javax.management.MBeanServer mbeanServer
DefaultLowMemoryListener
public DefaultLowMemoryListener(LowMemoryDetector lowMemoryDetector)
handleNotification
public void handleNotification(javax.management.Notification notification,
java.lang.Object handback)
- Called when memory threshold is reached.
- Specified by:
handleNotification
in interface javax.management.NotificationListener
Copyright © 1999-2014 The xmlBlaster.org contributers.