Class IterativeFollowupJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.FloodSearchJob
net.i2p.router.networkdb.kademlia.FloodOnlySearchJob
net.i2p.router.networkdb.kademlia.SingleSearchJob
net.i2p.router.networkdb.kademlia.IterativeFollowupJob
- All Implemented Interfaces:
Job
Ask a single peer for a single key.
This isn't really a flood-only search job at all, but we extend
FloodOnlySearchJob so we can use the same selectors, etc.
Different from SingleSearchJob in that we tell the search to add it on success.
- Since:
- 0.8.9
-
Field Summary
Fields inherited from class net.i2p.router.networkdb.kademlia.FloodOnlySearchJob
_onReply, _onTimeout, _replySelectorFields inherited from class net.i2p.router.networkdb.kademlia.FloodSearchJob
_created, _dead, _expiration, _facade, _isLease, _key, _log, _lookupsRemaining, _onFailed, _onFind, _success, _timeoutMs, CONCURRENT_SEARCHES -
Constructor Summary
ConstructorsConstructorDescriptionIterativeFollowupJob(RouterContext ctx, Hash key, Hash to, IterativeSearchJob search) -
Method Summary
Methods inherited from class net.i2p.router.networkdb.kademlia.SingleSearchJob
failed, runJob, shouldProcessDSRMMethods inherited from class net.i2p.router.networkdb.kademlia.FloodOnlySearchJob
decrementRemainingMethods inherited from class net.i2p.router.networkdb.kademlia.FloodSearchJob
addDeferred, decrementRemaining, getCreated, getExpiration, getKey, getLookupsRemainingMethods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, madeReady, requeue, toString
-
Constructor Details
-
IterativeFollowupJob
-
-
Method Details
-
getName
Description copied from class:FloodSearchJobDeprecated, unused, see FOSJ override- Specified by:
getNamein interfaceJob- Overrides:
getNamein classSingleSearchJob
-
success
void success()Description copied from class:FloodSearchJobDeprecated, unused, see FOSJ override- Overrides:
successin classSingleSearchJob
-