net.i2p.router.tunnel.pool
Class RebuildJob

java.lang.Object
  extended bynet.i2p.router.JobImpl
      extended bynet.i2p.router.tunnel.pool.RebuildJob
All Implemented Interfaces:
Job

class RebuildJob
extends JobImpl

Build a new tunnel to replace the existing one before it expires. This job should be removed (or scheduled to run immediately) if the tunnel fails.


Constructor Summary
RebuildJob(RouterContext ctx, TunnelCreatorConfig cfg, TunnelPool pool)
           
 
Method Summary
 java.lang.String getName()
          Descriptive name of the task
 void runJob()
          Actually perform the task.
 
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RebuildJob

public RebuildJob(RouterContext ctx,
                  TunnelCreatorConfig cfg,
                  TunnelPool pool)
Method Detail

getName

public java.lang.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.