|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.i2p.util.I2PThread
net.i2p.router.transport.crypto.DHSessionKeyBuilder.PrecalcRunner
public static class DHSessionKeyBuilder.PrecalcRunner
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.i2p.util.I2PThread |
|---|
I2PThread.OOMEventListener |
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
DHSessionKeyBuilder.PrecalcRunner(I2PAppContext ctx)
|
|
| Method Summary | |
|---|---|
DHSessionKeyBuilder |
getBuilder()
Construct a new DH key builder or pulls a prebuilt one from the queue. |
void |
run()
private void log(int level, String msg) { log(level, msg, null); } private void log(int level, String msg, Throwable t) { // we cant assume log is created if (_log == null) _log = new Log(I2PThread.class); if (_log.shouldLog(level)) _log.log(level, msg, t); } |
void |
shutdown()
Note that this stops the singleton precalc thread. |
| Methods inherited from class net.i2p.util.I2PThread |
|---|
addOOMEventListener, fireOOM, removeOOMEventListener |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DHSessionKeyBuilder.PrecalcRunner(I2PAppContext ctx)
| Method Detail |
|---|
public void shutdown()
public void run()
I2PThread
run in interface Runnablerun in class I2PThreadpublic DHSessionKeyBuilder getBuilder()
getBuilder in interface DHSessionKeyBuilder.Factory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||