wt.method
Class MemoryMonitor

java.lang.Object
  extended bywt.method.MemoryMonitor
All Implemented Interfaces:
RemoteAccess, Runnable

public class MemoryMonitor
extends Object
implements Runnable, RemoteAccess


Field Summary
private static String CLASSNAME
           
private static boolean currentThreadOnly
           
private static int heapCheckPeriod
           
private static int MAX_REDIRECTS
           
private static long maxHeadRoom
           
private static Runtime runtime
           
private static String SERVICE_NAME
           
private static boolean VERBOSE
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
MemoryMonitor()
           
 
Method Summary
static void checkHeap()
           
private static long getMaxHeadRoom(String memory)
           
static void main(String[] args)
           
static void Report()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MemoryMonitor

public MemoryMonitor()
Method Detail

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)