DHSessionKeyBuilder.Factory
public static class DHSessionKeyBuilder.PrecalcRunner extends I2PThread implements DHSessionKeyBuilder.Factory
I2PThread.OOMEventListener
コンストラクタ | 説明 |
---|---|
PrecalcRunner(I2PAppContext ctx) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
DHSessionKeyBuilder |
getBuilder() |
Construct a new DH key builder
or pulls a prebuilt one from the queue.
|
void |
returnUnused(DHSessionKeyBuilder builder) |
Return an unused DH key builder
to be put back onto the queue for reuse.
|
void |
run() |
|
void |
shutdown() |
Note that this stops the singleton precalc thread.
|
addOOMEventListener, fireOOM, removeOOMEventListener, start
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
public PrecalcRunner(I2PAppContext ctx)
public void shutdown()
public DHSessionKeyBuilder getBuilder()
getBuilder
インタフェース内 DHSessionKeyBuilder.Factory
public void returnUnused(DHSessionKeyBuilder builder)
returnUnused
インタフェース内 DHSessionKeyBuilder.Factory
builder
- must not have a peerPublicValue set