net.i2p.router.networkdb.kademlia
Class ExpireRoutersJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.ExpireRoutersJob
- All Implemented Interfaces:
- Job
Deprecated. unused - see comments in KNDF
class ExpireRoutersJob
- extends JobImpl
Go through the routing table pick routers that are
is out of date, but don't expire routers we're actively connected to.
We could in the future use profile data, netdb total size, a Kademlia XOR distance,
or other criteria to minimize netdb size, but for now we just use _facade's
validate(), which is a sliding expriation based on netdb size.
Method Summary |
String |
getName()
Deprecated. Descriptive name of the task |
void |
runJob()
Deprecated. Actually perform the task. |
ExpireRoutersJob
public ExpireRoutersJob(RouterContext ctx,
KademliaNetworkDatabaseFacade facade)
- Deprecated.
getName
public String getName()
- Deprecated.
- Description copied from interface:
Job
- Descriptive name of the task
runJob
public void runJob()
- Deprecated.
- Description copied from interface:
Job
- Actually perform the task. This call blocks until the Job is complete.