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 Details

  • Method Details

    • isAdvanced

      public boolean isAdvanced()
    • 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.