Package net.i2p.router.tunnel.pool
Class TestJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.tunnel.pool.TestJob
- All Implemented Interfaces:
Job
class TestJob extends JobImpl
Repeatedly test a single tunnel for its entire lifetime,
or until the pool is shut down or removed from the client manager.
Tunnel testing is disabled by default now, except for hidden mode,
see TunnelPoolManager.buildComplete()
-
Constructor Summary
Constructors Constructor Description TestJob(RouterContext ctx, PooledTunnelCreatorConfig cfg, TunnelPool pool) -
Method Summary
Modifier and Type Method Description StringgetName()Descriptive name of the taskvoidrunJob()Actually perform the task.voidtestSuccessful(int ms)Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
-
Constructor Details
-
Method Details
-
getName
Description copied from interface:JobDescriptive name of the task -
runJob
public void runJob()Description copied from interface:JobActually perform the task. This call blocks until the Job is complete. -
testSuccessful
public void testSuccessful(int ms)
-