Class IterativeTimeoutJob
- java.lang.Object
-
- net.i2p.router.JobImpl
-
- net.i2p.router.networkdb.kademlia.IterativeTimeoutJob
-
- All Implemented Interfaces:
Job
class IterativeTimeoutJob extends JobImpl
This is the timeout for a single lookup, not for the whole search. It is called every time, it is not cancelled after the search succeeds or the peer replies with a DSRM. We rely on ISJ.failed(peer) to decide whether or not it actually timed out.- Since:
- 0.8.9
-
-
Constructor Summary
Constructors Constructor Description IterativeTimeoutJob(RouterContext ctx, Hash peer, IterativeSearchJob job)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Descriptive name of the taskvoid
runJob()
Actually perform the task.-
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
-
-
-
-
Constructor Detail
-
IterativeTimeoutJob
public IterativeTimeoutJob(RouterContext ctx, Hash peer, IterativeSearchJob job)
-
-