java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.client.impl.I2PSessionImpl.VerifyUsage
All Implemented Interfaces:
Runnable
Enclosing class:
I2PSessionImpl

private class I2PSessionImpl.VerifyUsageextends SimpleTimer2.TimedEvent
Check for unclaimed messages, without wastefully setting a timer for each message. Just copy all unclaimed ones and check some time later.
  • Field Details

    • toCheck

      private final List<Long> toCheck
      Message ids whose usage needs checking.
  • Constructor Details

    • VerifyUsage

      public VerifyUsage()
      Prepares the periodic usage quota check.
  • 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