java.lang.Object
net.i2p.router.tunnel.pool.TunnelPool.TunnelStats
Enclosing class:
TunnelPool

private static final class TunnelPool.TunnelStatsextends Object
Counts of tunnel states gathered in one sweep of the pool.
  • Field Details

    • safeActive

      private int safeActive
      Tunnels with more than 3 minutes left.
    • nearExpiry

      private int nearExpiry
      Tunnels with 3 minutes or less left, not yet expired.
    • expiredZombies

      private int expiredZombies
      Tunnels past expiration still sitting in the pool.
    • untestedCount

      private int untestedCount
      Tunnels in the pool that have never been tested.
    • staleUntestedCount

      private int staleUntestedCount
      Untested tunnels the test queue never reached.
    • failingCount

      private int failingCount
      Tunnels that failed tests and are likely to be dropped.
    • softDegraded

      private int softDegraded
      Live tunnels whose soft failures reach the ensure threshold.
    • lastChanceTests

      private List<PooledTunnelCreatorConfig> lastChanceTests
      Lazily created: stale UNTESTED tunnels kept for one last-chance test.
    • strandedTests

      private List<PooledTunnelCreatorConfig> strandedTests
      Lazily created: stranded UNTESTED tunnels whose first test was never scheduled.
  • Constructor Details

    • TunnelStats

      private TunnelStats()
      Holds one tunnel's counters.