public class I2PAppThread extends I2PThread
I2PThread.OOMEventListenerThread.State, Thread.UncaughtExceptionHandlerMAX_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) |
I2PAppThread(ThreadGroup group,
Runnable r,
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) |
void |
removeOOMEventThreadListener(I2PThread.OOMEventListener lsnr)
unregister a component that wants notification of OOM events
|
addOOMEventListener, removeOOMEventListener, run, startactiveCount, 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, stop, stop, suspend, toString, yieldpublic I2PAppThread()
public I2PAppThread(Runnable r)
public I2PAppThread(String name)
public I2PAppThread(ThreadGroup group, Runnable r, String name)
public void addOOMEventThreadListener(I2PThread.OOMEventListener lsnr)
protected void fireOOM(OutOfMemoryError oom)
public void removeOOMEventThreadListener(I2PThread.OOMEventListener lsnr)