java.lang.Object
net.i2p.router.tunnel.pool.GhostPeerManager.GhostMark
Enclosing class:
GhostPeerManager

private static final class GhostPeerManager.GhostMarkextends Object
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 Details

    • until

      final long until
      When the mark expires.
    • offenses

      final int offenses
      Times the peer was marked.
    • markedAt

      final long markedAt
      When the mark was applied.
  • Constructor Details

    • GhostMark

      GhostMark(long until, int offenses, long markedAt)
      Records one peer mark.
      Parameters:
      until - when the mark expires
      offenses - the number of times the peer was marked
      markedAt - when the mark was applied