Class IterativeTimeoutJob

  • All Implemented Interfaces:
    Job

    class IterativeTimeoutJob
    extends JobImpl
    This is the timeout for a single lookup, not for the whole search. It is called every time, it is not cancelled after the search succeeds or the peer replies with a DSRM. We rely on ISJ.failed(peer) to decide whether or not it actually timed out.
    Since:
    0.8.9
    • Method Detail

      • runJob

        public void runJob()
        Description copied from interface: Job
        Actually perform the task. This call blocks until the Job is complete.
      • getName

        public String getName()
        Description copied from interface: Job
        Descriptive name of the task