class RefreshRoutersJob extends JobImpl
After startup, refetches router infos, prioritizing floodfill routers, to keep the network database fresh and healthy. This class tries to balance load and avoid overload by controlling timing and refresh intervals.
| Constructor and Description |
|---|
RefreshRoutersJob(RouterContext ctx,
FloodfillNetworkDatabaseFacade facade) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Descriptive name of the task
|
void |
runJob()
Entry point for the job execution.
|
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic RefreshRoutersJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade)