Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
int |
addCallback(ThreadPoolRunnable c,
int interval) |
long |
getDefaultIntervale() |
void |
removeCallback(int idx) |
void |
run() |
void |
setDefaultInterval(long t) |
void |
startReaper() |
void |
stopReaper() |
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 Reaper()
public Reaper(String name)
public void setDefaultInterval(long t)
public long getDefaultIntervale()
public int addCallback(ThreadPoolRunnable c, int interval)
public void removeCallback(int idx)
public void startReaper()
public void stopReaper()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.