java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.router.networkdb.kademlia.LookupThrottler.Cleaner
All Implemented Interfaces:
Runnable
Enclosing class:
LookupThrottler

private class LookupThrottler.Cleanerextends SimpleTimer2.TimedEvent
Periodically clears throttle counters to prevent unbounded growth.
  • Constructor Details

    • Cleaner

      public Cleaner()
      Schedule cleanup on the shared timer.
  • Method Details

    • timeReached

      public void timeReached()
      Clear the burst and counting tables, then resample the throttle ceiling in case floodfill status changed.
      Specified by:
      timeReached in class SimpleTimer2.TimedEvent