Class IdleChecker

  • All Implemented Interfaces:

    class IdleChecker
    extends SimpleTimer2.TimedEvent
    Periodically check for idle condition based on connected peers, and reduce/restore tunnel count as necessary. We can't use the I2CP idle detector because it's based on traffic, so DHT and announces would keep it non-idle.
    • Method Detail

      • timeReached

        public void timeReached()
        Description copied from class: SimpleTimer2.TimedEvent
        Simple interface for events to be queued up and notified on expiration the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)
        Specified by:
        timeReached in class SimpleTimer2.TimedEvent