class IterativeFollowupJob extends SingleSearchJob
Extends SingleSearchJob to query specific peers for RouterInfo during iterative searches. Unlike SingleSearchJob, this class notifies the parent search job when successful, allowing the iterative search to incorporate the new peer into its search strategy.
Used when iterative searches discover new peers that need direct querying to obtain their RouterInfo for further search refinement. Provides seamless integration with the iterative search algorithm while reusing existing selector infrastructure.
_onReply, _onTimeout, _replySelector_created, _dead, _expiration, _facade, _isLease, _key, _log, _lookupsRemaining, _onFailed, _onFind, _success, _timeoutMs, CONCURRENT_SEARCHES| Constructor and Description |
|---|
IterativeFollowupJob(RouterContext ctx,
Hash key,
Hash to,
IterativeSearchJob search) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Deprecated, unused, see FOSJ override
|
(package private) void |
success()
Deprecated, unused, see FOSJ override
|
failed, runJob, shouldProcessDSRMdecrementRemainingaddDeferred, decrementRemaining, getCreated, getExpiration, getKey, getLookupsRemainingdropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic IterativeFollowupJob(RouterContext ctx, Hash key, Hash to, IterativeSearchJob search)
public String getName()
FloodSearchJobgetName in interface JobgetName in class SingleSearchJobvoid success()
FloodSearchJobsuccess in class SingleSearchJob