net.i2p.router.tasks
Class UpdateRoutingKeyModifierJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.tasks.UpdateRoutingKeyModifierJob
- All Implemented Interfaces:
- Job
public class UpdateRoutingKeyModifierJob
- extends JobImpl
Update the routing Key modifier every day at midnight (plus on startup).
This is done here because we want to make sure the key is updated before anyone
uses it.
- Since:
- 0.8.12 moved from Router.java
Method Summary |
String |
getName()
Descriptive name of the task |
void |
runJob()
Actually perform the task. |
UpdateRoutingKeyModifierJob
public UpdateRoutingKeyModifierJob(RouterContext ctx)
getName
public String getName()
- Description copied from interface:
Job
- Descriptive name of the task
runJob
public void runJob()
- Description copied from interface:
Job
- Actually perform the task. This call blocks until the Job is complete.