class SingleLookupJob extends JobImpl
Processes RouterInfo hashes received in DatabaseSearchReplyMessage by initiating direct queries to obtain missing or stale RouterInfo data. For each unknown peer, queries the peer that provided the hash; for known peers with outdated data or non-floodfill status, queries the peer directly to refresh the information.
This lightweight version of SearchReplyJob focuses specifically on RouterInfo acquisition without profile management overhead. Designed for efficient network integration and floodfill peer discovery.
Limits concurrent followup operations based on system performance to prevent resource exhaustion during high-volume search responses.
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_TO_FOLLOW
I2NP spec allows 255, max actually sent (in ../HDLMJ) is 3,
so just to prevent trouble, we don't want to queue 255 jobs at once
|
| Constructor and Description |
|---|
SingleLookupJob(RouterContext ctx,
DatabaseSearchReplyMessage dsrm) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Descriptive name of the task
|
void |
runJob()
Actually perform the task.
|
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic static final int MAX_TO_FOLLOW
public SingleLookupJob(RouterContext ctx, DatabaseSearchReplyMessage dsrm)