java.lang.Object
net.i2p.router.transport.udp.PeerTestManager.RIMiss
Enclosing class:
PeerTestManager

private static final class PeerTestManager.RIMissextends Object
Last hash whose RouterInfo lookup missed, with the time it was recorded. Both in one immutable holder: read as two separate volatiles a writer landing between the reads could pair a hash with a foreign timestamp and stretch or collapse the TTL.
  • Field Details

    • hash

      private final Hash hash
      The router whose router info went missing.
    • when

      private final long when
      When the miss was recorded.
  • Constructor Details

    • RIMiss

      RIMiss(Hash hash, long when)
      Records a missing router info.
      Parameters:
      hash - the router hash
      when - the time of the miss