java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.router.networkdb.reseed.ReseedChecker.StatusCleaner
All Implemented Interfaces:
Runnable
Enclosing class:
ReseedChecker

private class ReseedChecker.StatusCleanerextends SimpleTimer2.TimedEvent
Timer event to clear stale status and error messages after a timeout.
  • Field Details

    • _status

      private final String _status
      The status message to clear.
    • _error

      private final String _error
      The error message to clear.
  • Constructor Details

    • StatusCleaner

      public StatusCleaner(RouterContext ctx, String status, String error)
      Clears the messages after a delay.
      Parameters:
      ctx - the router context
      status - the status message to clear
      error - the error message to clear
  • 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