Package net.i2p.router
Class JobQueueRunner
java.lang.Object
java.lang.Thread
net.i2p.util.I2PThread
net.i2p.router.JobQueueRunner
- All Implemented Interfaces:
Runnable
class JobQueueRunner extends I2PThread
a do run run run a do run run
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JobQueueRunner(RouterContext context, int id)
-
Method Summary
Modifier and Type Method Description Job
getCurrentJob()
long
getLastBegin()
long
getLastEnd()
Job
getLastJob()
int
getRunnerId()
void
run()
void
startRunning()
void
stopRunning()
Methods inherited from class net.i2p.util.I2PThread
addOOMEventListener, fireOOM, removeOOMEventListener, start
Methods 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
-
Method Details
-
getCurrentJob
-
getLastJob
-
getRunnerId
public int getRunnerId() -
stopRunning
public void stopRunning() -
startRunning
public void startRunning() -
getLastBegin
public long getLastBegin() -
getLastEnd
public long getLastEnd() -
run
public void run()
-