java.lang.Object
net.i2p.router.tunnel.pool.GhostPeerManager.GhostMark
- Enclosing class:
GhostPeerManager
One ghost mark: exclusion expiry (snapshotted at mark time), the repeat offense count that produced it, and when it was written so the count can decay.
Field Summary
Constructor Summary
ConstructorsMethod Summary
Field Details
until
final long untilWhen the mark expires.offenses
final int offensesTimes the peer was marked.markedAt
final long markedAtWhen the mark was applied.
Constructor Details
GhostMark
GhostMark(long until, int offenses, long markedAt) Records one peer mark.- Parameters:
until- when the mark expiresoffenses- the number of times the peer was markedmarkedAt- when the mark was applied