class ExpireRoutersJob extends JobImpl
| Constructor and Description |
|---|
ExpireRoutersJob(RouterContext ctx,
KademliaNetworkDatabaseFacade facade)Constructs a job to expire outdated routers from the network database. |
| 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 ExpireRoutersJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade)
ctx - the router contextfacade - the Kademlia network database facade