Package net.i2p.util
Class I2PAppThread
java.lang.Object
java.lang.Thread
net.i2p.util.I2PThread
net.i2p.util.I2PAppThread
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DaemonThread,I2PTunnelOutproxyRunner,I2PTunnelRunner,InternalSocketRunner,SnarkShutdown,UpdateRunner
public class I2PAppThread extends I2PThread
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
-
Constructor Summary
Constructors Constructor 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) -
Method Summary
Modifier and Type Method Description voidaddOOMEventThreadListener(I2PThread.OOMEventListener lsnr)register a new component that wants notification of OOM eventsprotected voidfireOOM(OutOfMemoryError oom)voidremoveOOMEventThreadListener(I2PThread.OOMEventListener lsnr)unregister a component that wants notification of OOM eventsMethods inherited from class net.i2p.util.I2PThread
addOOMEventListener, removeOOMEventListener, run, startMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, suspend, toString, yield
-
Constructor Details
-
I2PAppThread
public I2PAppThread() -
I2PAppThread
-
I2PAppThread
-
I2PAppThread
-
I2PAppThread
-
I2PAppThread
- Since:
- 0.9.23
-
-
Method Details
-
fireOOM
-
addOOMEventThreadListener
register a new component that wants notification of OOM events -
removeOOMEventThreadListener
unregister a component that wants notification of OOM events
-