java.lang.Object
net.i2p.router.transport.udp.PeerTestManager.RIMiss
- Enclosing class:
PeerTestManager
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 Summary
Constructor Summary
Method Summary
Field Details
hash
The router whose router info went missing.when
private final long whenWhen the miss was recorded.
Constructor Details
RIMiss
RIMiss(Hash hash, long when) Records a missing router info.- Parameters:
hash- the router hashwhen- the time of the miss