wt.method
Class MemoryMonitor
java.lang.Object
wt.method.MemoryMonitor
- All Implemented Interfaces:
- RemoteAccess, Runnable
- public class MemoryMonitor
- extends Object
- implements Runnable, RemoteAccess
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runtime
private static Runtime runtime
CLASSNAME
private static String CLASSNAME
heapCheckPeriod
private static final int heapCheckPeriod
maxHeadRoom
private static final long maxHeadRoom
currentThreadOnly
private static final boolean currentThreadOnly
SERVICE_NAME
private static final String SERVICE_NAME
MAX_REDIRECTS
private static final int MAX_REDIRECTS
VERBOSE
private static final boolean VERBOSE
MemoryMonitor
public MemoryMonitor()
run
public void run()
- Specified by:
run
in interface Runnable
checkHeap
public static void checkHeap()
getMaxHeadRoom
private static long getMaxHeadRoom(String memory)
throws NumberFormatException
- Throws:
NumberFormatException
Report
public static void Report()
main
public static void main(String[] args)