public class MemoryMonitor
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_THRESHOLD |
static int |
WARNING_THRESHOLD |
| Constructor and Description |
|---|
MemoryMonitor(int sample,
int freq,
com.nt.udc.nodemgr.OSANodeMgr nm,
Logger log,
PerformanceLogger pLog) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMajorThreshold() |
int |
getPollTime() |
int |
getWarningThreshold() |
void |
run() |
void |
setLogging(boolean log) |
void |
setMajorThreshold(int threshold) |
void |
setPollTime(int sample,
int freq) |
void |
setWarningThreshold(int threshold) |
void |
shutdown() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final int MAJOR_THRESHOLD
public static final int WARNING_THRESHOLD
public MemoryMonitor(int sample,
int freq,
com.nt.udc.nodemgr.OSANodeMgr nm,
Logger log,
PerformanceLogger pLog)
public void setMajorThreshold(int threshold)
public int getMajorThreshold()
public void setWarningThreshold(int threshold)
public int getWarningThreshold()
public void setPollTime(int sample,
int freq)
public int getPollTime()
public void setLogging(boolean log)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void shutdown()