java.lang.Object
net.i2p.router.tunnel.pool.TunnelPool.TunnelStats
- Enclosing class:
TunnelPool
Counts of tunnel states gathered in one sweep of the pool.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intTunnels past expiration still sitting in the pool.private intTunnels that failed tests and are likely to be dropped.private List<PooledTunnelCreatorConfig> Lazily created: stale UNTESTED tunnels kept for one last-chance test.private intTunnels with 3 minutes or less left, not yet expired.private intTunnels with more than 3 minutes left.private intLive tunnels whose soft failures reach the ensure threshold.private intUntested tunnels the test queue never reached.private List<PooledTunnelCreatorConfig> Lazily created: stranded UNTESTED tunnels whose first test was never scheduled.private intTunnels in the pool that have never been tested.Constructor Summary
ConstructorsMethod Summary
Field Details
safeActive
private int safeActiveTunnels with more than 3 minutes left.nearExpiry
private int nearExpiryTunnels with 3 minutes or less left, not yet expired.expiredZombies
private int expiredZombiesTunnels past expiration still sitting in the pool.untestedCount
private int untestedCountTunnels in the pool that have never been tested.staleUntestedCount
private int staleUntestedCountUntested tunnels the test queue never reached.failingCount
private int failingCountTunnels that failed tests and are likely to be dropped.softDegraded
private int softDegradedLive tunnels whose soft failures reach the ensure threshold.lastChanceTests
Lazily created: stale UNTESTED tunnels kept for one last-chance test.strandedTests
Lazily created: stranded UNTESTED tunnels whose first test was never scheduled.
Constructor Details
TunnelStats
private TunnelStats()Holds one tunnel's counters.