net.i2p.router.networkdb.kademlia
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
Method Summary |
String |
getName()
Descriptive name of the task |
void |
runJob()
Actually perform the task. |
IterativeTimeoutJob
public IterativeTimeoutJob(RouterContext ctx,
Hash peer,
IterativeSearchJob job)
runJob
public void runJob()
- Description copied from interface:
Job
- Actually perform the task. This call blocks until the Job is complete.
getName
public String getName()
- Description copied from interface:
Job
- Descriptive name of the task