org.shiftone.jrat.core
Class MemoryMonitor

java.lang.Object
  extended by org.shiftone.jrat.core.MemoryMonitor
All Implemented Interfaces:
ShutdownListener

public class MemoryMonitor
extends java.lang.Object
implements ShutdownListener

Author:
jeff@shiftone.org (Jeff Drost) TODO - add support for java.lang.management.MemoryMXBean

Constructor Summary
MemoryMonitor(RuntimeContext context)
           
 
Method Summary
 void shutdown()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemoryMonitor

public MemoryMonitor(RuntimeContext context)
Method Detail

shutdown

public void shutdown()
              throws java.lang.InterruptedException
Specified by:
shutdown in interface ShutdownListener
Throws:
java.lang.InterruptedException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object