Class StartExplorersJob

  • All Implemented Interfaces:
    Job

    class StartExplorersJob
    extends JobImpl
    Fire off search jobs for random keys from the explore pool, up to MAX_PER_RUN at a time. If the explore pool is empty, just search for a random key. For hidden mode routers, this is the primary mechanism for staying integrated. The goal is to keep known router count above LOW_ROUTERS and the known floodfill count above LOW_FFS.
    • Method Detail

      • 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.
      • updateExploreSchedule

        public void updateExploreSchedule()
        the exploration has found some new peers - update the schedule so that we'll explore appropriately.