public class DiskMonitor
extends java.lang.Thread
Modifier and Type | Class and Description |
---|---|
class |
DiskMonitor.InterruptTimer |
Modifier and Type | Field and Description |
---|---|
static int |
ERR_COUNT_MAX |
static java.lang.String |
PARTITION_ARG |
static java.lang.String |
PARTITION_CMD |
static int |
RED_THRESHOLD |
static int |
YELLOW_THRESHOLD |
Constructor and Description |
---|
DiskMonitor(java.lang.String part,
com.nt.udc.nodemgr.OSANodeMgr nm,
Logger log,
int poll,
PerformanceLogger dml) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPartition() |
int |
getPollTime() |
int |
getRedThreshold() |
int |
getYellowThreshold() |
void |
run() |
void |
setPartition(java.lang.String part) |
void |
setPollTime(int poll) |
void |
setRedThreshold(int red) |
void |
setYellowThreshold(int yellow) |
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, yield
public static final int YELLOW_THRESHOLD
public static final int RED_THRESHOLD
public static final int ERR_COUNT_MAX
public static final java.lang.String PARTITION_CMD
public static final java.lang.String PARTITION_ARG
public DiskMonitor(java.lang.String part, com.nt.udc.nodemgr.OSANodeMgr nm, Logger log, int poll, PerformanceLogger dml)
public void setPartition(java.lang.String part)
public java.lang.String getPartition()
public void setYellowThreshold(int yellow)
public int getYellowThreshold()
public void setRedThreshold(int red)
public int getRedThreshold()
public void setPollTime(int poll)
public int getPollTime()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void shutdown()