public class I2PAppThread extends I2PThread
I2PThread.OOMEventListener
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
I2PAppThread() |
I2PAppThread(Runnable r) |
I2PAppThread(Runnable r,
String name) |
I2PAppThread(Runnable r,
String name,
boolean isDaemon) |
I2PAppThread(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addOOMEventThreadListener(I2PThread.OOMEventListener lsnr)
register a new component that wants notification of OOM events
|
protected void |
fireOOM(OutOfMemoryError oom)
protected void finalize() throws Throwable {
//log(Log.DEBUG, "Thread finalized: " + _name);
super.finalize();
}
|
void |
removeOOMEventThreadListener(I2PThread.OOMEventListener lsnr)
unregister a component that wants notification of OOM events
|
addOOMEventListener, removeOOMEventListener, run
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 I2PAppThread()
public I2PAppThread(String name)
public I2PAppThread(Runnable r)
protected void fireOOM(OutOfMemoryError oom)
I2PThread
public void addOOMEventThreadListener(I2PThread.OOMEventListener lsnr)
public void removeOOMEventThreadListener(I2PThread.OOMEventListener lsnr)