Package 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. We must keep this enabled, as it's the only way for people to set routerconsole.advanced=true without restarting.
-
-
Constructor Summary
Constructors Constructor Description ReadConfigJob(RouterContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Descriptive name of the taskvoid
runJob()
Actually perform the task.-
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
-
-
-
-
Constructor Detail
-
ReadConfigJob
public ReadConfigJob(RouterContext ctx)
-
-