java.lang.Object
net.i2p.router.tunnel.pool.BuildExecutor.ExpiryBuckets
Enclosing class:
BuildExecutor

static class BuildExecutor.ExpiryBucketsextends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    final int
    Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    final int
    Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    final int
    Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    final int
    Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    final int
    Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    final int
    Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    final int
    Zero-hop fallback tunnels, which never fill a deficit.
    final int
    GOOD-status tunnels across every expiry window, fallbacks excluded.
    final int
    GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    final int
    GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    final int
    GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    final int
    GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    final int
    GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    final int
    GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    final int
    GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    final long
    Summed average latency of the GOOD tunnels, in milliseconds.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExpiryBuckets(int fallbackCount, int expire30s, int expire90s, int expire150s, int expire210s, int expire270s, int expire330s, int expireLater, int goodExpire30s, int goodExpire90s, int goodExpire150s, int goodExpire210s, int goodExpire270s, int goodExpire330s, int goodExpireLater, int goodCount, long totalLatency)
    Assign the bucket counts; see BuildExecutor.countExpiryBuckets(List, long) for how they are derived.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • fallbackCount

      public final int fallbackCount
      Zero-hop fallback tunnels, which never fill a deficit.
    • expire30s

      public final int expire30s
      Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    • expire90s

      public final int expire90s
      Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    • expire150s

      public final int expire150s
      Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    • expire210s

      public final int expire210s
      Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    • expire270s

      public final int expire270s
      Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    • expire330s

      public final int expire330s
      Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    • expireLater

      public final int expireLater
      Tunnels per expiry window, cumulative: expire30s covers the already-expired through 30s out, each later field the band above the previous one, and expireLater everything beyond 330s.
    • goodExpire30s

      public final int goodExpire30s
      GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    • goodExpire90s

      public final int goodExpire90s
      GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    • goodExpire150s

      public final int goodExpire150s
      GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    • goodExpire210s

      public final int goodExpire210s
      GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    • goodExpire270s

      public final int goodExpire270s
      GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    • goodExpire330s

      public final int goodExpire330s
      GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    • goodExpireLater

      public final int goodExpireLater
      GOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.
    • goodCount

      public final int goodCount
      GOOD-status tunnels across every expiry window, fallbacks excluded.
    • totalLatency

      public final long totalLatency
      Summed average latency of the GOOD tunnels, in milliseconds.
  • Constructor Details

    • ExpiryBuckets

      ExpiryBuckets(int fallbackCount, int expire30s, int expire90s, int expire150s, int expire210s, int expire270s, int expire330s, int expireLater, int goodExpire30s, int goodExpire90s, int goodExpire150s, int goodExpire210s, int goodExpire270s, int goodExpire330s, int goodExpireLater, int goodCount, long totalLatency)
      Assign the bucket counts; see BuildExecutor.countExpiryBuckets(List, long) for how they are derived.
      Parameters:
      fallbackCount - zero-hop fallback tunnels, which never fill a deficit
      expire30s - tunnels already expired or expiring within 30s of now
      expire90s - tunnels expiring after 30s but within 90s
      expire150s - tunnels expiring after 90s but within 150s
      expire210s - tunnels expiring after 150s but within 210s
      expire270s - tunnels expiring after 210s but within 270s
      expire330s - tunnels expiring after 270s but within 330s
      expireLater - tunnels expiring more than 330s out
      goodExpire30s - GOOD-status tunnels within 30s of expiry
      goodExpire90s - GOOD-status tunnels expiring after 30s but within 90s
      goodExpire150s - GOOD-status tunnels expiring after 90s but within 150s
      goodExpire210s - GOOD-status tunnels expiring after 150s but within 210s
      goodExpire270s - GOOD-status tunnels expiring after 210s but within 270s
      goodExpire330s - GOOD-status tunnels expiring after 270s but within 330s
      goodExpireLater - GOOD-status tunnels expiring more than 330s out
      goodCount - GOOD-status tunnels across every expiry window
      totalLatency - summed average latency of the GOOD tunnels, in milliseconds