class SingleSearchJob extends FloodOnlySearchJob
This specialized search job queries exactly one peer for a RouterInfo associated with the target key. Despite extending FloodOnlySearchJob, this is not a flood operation but rather a direct, point-to-point lookup designed for specific scenarios where the target peer is known.
Used primarily for followup operations and targeted peer validation where the response from a specific peer is required. The job handles tunnel selection, message construction, and timeout management for reliable single-peer communication.
_onReply, _onTimeout, _replySelector_created, _dead, _expiration, _facade, _isLease, _key, _log, _lookupsRemaining, _onFailed, _onFind, _success, _timeoutMs, CONCURRENT_SEARCHES| Constructor and Description |
|---|
SingleSearchJob(RouterContext ctx,
Hash key,
Hash to) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
failed()
Deprecated, unused, see FOSJ override
|
String |
getName()
Deprecated, unused, see FOSJ override
|
void |
runJob()
Deprecated, unused, see FOSJ override
|
boolean |
shouldProcessDSRM() |
(package private) void |
success()
Deprecated, unused, see FOSJ override
|
decrementRemainingaddDeferred, decrementRemaining, getCreated, getExpiration, getKey, getLookupsRemainingdropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic SingleSearchJob(RouterContext ctx, Hash key, Hash to)
key - for Router Info ONLYvoid failed()
FloodSearchJobfailed in class FloodOnlySearchJobpublic String getName()
FloodSearchJobgetName in interface JobgetName in class FloodOnlySearchJobpublic void runJob()
FloodSearchJobrunJob in interface JobrunJob in class FloodOnlySearchJobpublic boolean shouldProcessDSRM()
shouldProcessDSRM in class FloodOnlySearchJobvoid success()
FloodSearchJobsuccess in class FloodOnlySearchJob