java.lang.Object
net.i2p.router.tunnel.pool.ExpireJob.TunnelExpiration
Enclosing class:
ExpireJob

private static class ExpireJob.TunnelExpirationextends Object
One tunnel tracked for expiration.
  • Field Details

    • config

      The tunnel's config.
    • tunnelKey

      final Long tunnelKey
      The tunnel's key in the map.
    • expirationTime

      volatile long expirationTime
      When the tunnel expires.
    • dropTime

      final long dropTime
      When the tunnel was added to the map.
    • createdAt

      final long createdAt
      When the tunnel was created.
    • phase1Complete

      volatile boolean phase1Complete
      True once the first phase was done.
    • untestedExtensions

      int untestedExtensions
      Extensions granted while untested.
  • Constructor Details

    • TunnelExpiration

      TunnelExpiration(PooledTunnelCreatorConfig cfg, Long key, long expire, long drop, long created)
      Tracks one tunnel for expiration.
      Parameters:
      cfg - the tunnel's config
      key - the tunnel's key in the map
      expire - when the tunnel expires
      drop - when the tunnel was added to the map
      created - when the tunnel was created