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.
TestJob
public TestJob(RouterContext ctx,
PooledTunnelCreatorConfig cfg,
TunnelPool pool)
getName
public String getName()
- Description copied from interface:
Job
- Descriptive name of the task
runJob
public void runJob()
- Description copied from interface:
Job
- Actually perform the task. This call blocks until the Job is complete.
testSuccessful
public void testSuccessful(int ms)