net.i2p.router.tasks
Class ReadConfigJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.tasks.ReadConfigJob
- All Implemented Interfaces:
- Job
public class ReadConfigJob
- extends JobImpl
Simply read the router config periodically,
so that the user may make config changes externally.
This isn't advertised as a feature,
but it could be used, for example, to change bandwidth limits
at certain times of day.
Unfortunately it will also read the file back in every time the
router writes it.
So maybe this should just be disabled.
Method Summary |
String |
getName()
Descriptive name of the task |
void |
runJob()
Actually perform the task. |
ReadConfigJob
public ReadConfigJob(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.