java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.tunnel.pool.TunnelPoolManager.RefreshLeaseSetsJob
- All Implemented Interfaces:
Job
- Enclosing class:
TunnelPoolManager
Job to refresh LeaseSets after slow tunnel removal. Runs ~15s after RemoveSlowTunnelsJob to allow new tunnels to build. Triggers client-side LeaseSet signing which flows through RepublishLeaseSetJob for NetDB publication.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TunnelPoolManagerThe manager whose lease sets are refreshed.Constructor Summary
ConstructorsConstructorDescriptionRefresh the lease sets after slow tunnels are removed.Method Summary
All MethodsMethods inherited from class JobImpl
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringModifier and TypeMethodDescriptionvoiddropped()Default implementation does nothing.final RouterContextThe router context that this job belongs to.longgetJobId()The unique job ID for this job.longThe timestamp when this job was last made ready for execution.The timing object for this job.voidmadeReady(long now) For JobQueue only, not for external use.protected voidrequeue(long delayMs) Requeue this job to run after the specified delay.toString()
Field Details
_mgr
The manager whose lease sets are refreshed.
Constructor Details
RefreshLeaseSetsJob
Refresh the lease sets after slow tunnels are removed.- Parameters:
ctx- the router contextmgr- the pool manager
Method Details
getName
runJob
public void runJob()Refresh lease sets after slow tunnel removal.