java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
org.klomp.snark.UpdateRunner.Watcher
All Implemented Interfaces:
Runnable
Enclosing class:
UpdateRunner

private class UpdateRunner.Watcherextends SimpleTimer2.TimedEvent
Periodic watcher for torrent completion. Rarely used - only if the user added the torrent, so we aren't a complete listener.
  • Field Details

    • _start

      private final long _start
      When the timer was created.
  • Constructor Details

    • Watcher

      public Watcher()
      Builds the update progress watcher.
  • Method Details

    • timeReached

      public void timeReached()
      Description copied from class: SimpleTimer2.TimedEvent
      Called when this event's scheduled time arrives. Must NOT block. For periodic events, call schedule(period) at the end to self-reschedule.
      Specified by:
      timeReached in class SimpleTimer2.TimedEvent