xmlBlaster 2.1.0 API

org.xmlBlaster.util.admin.extern
Class DefaultLowMemoryListener

java.lang.Object
  extended by 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
           
 
Constructor Summary
DefaultLowMemoryListener(LowMemoryDetector lowMemoryDetector)
           
 
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
 

Field Detail

log

private static final java.util.logging.Logger log

exitOnThreshold

boolean exitOnThreshold

mbeanServer

javax.management.MBeanServer mbeanServer
Constructor Detail

DefaultLowMemoryListener

public DefaultLowMemoryListener(LowMemoryDetector lowMemoryDetector)
Method Detail

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

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.