java.lang.Object
net.i2p.router.tunnel.pool.BuildExecutor.ExpiryBuckets
- Enclosing class:
BuildExecutor
Immutable result of
BuildExecutor.countExpiryBuckets(List, long).Field Summary
FieldsModifier and TypeFieldDescriptionfinal intTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.final intTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.final intTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.final intTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.final intTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.final intTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.final intTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.final intZero-hop fallback tunnels, which never fill a deficit.final intGOOD-status tunnels across every expiry window, fallbacks excluded.final intGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.final intGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.final intGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.final intGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.final intGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.final intGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.final intGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.final longSummed average latency of the GOOD tunnels, in milliseconds.Constructor Summary
ConstructorsConstructorDescriptionExpiryBuckets(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; seeBuildExecutor.countExpiryBuckets(List, long)for how they are derived.Method Summary
Field Details
fallbackCount
public final int fallbackCountZero-hop fallback tunnels, which never fill a deficit.expire30s
public final int expire30sTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.expire90s
public final int expire90sTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.expire150s
public final int expire150sTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.expire210s
public final int expire210sTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.expire270s
public final int expire270sTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.expire330s
public final int expire330sTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.expireLater
public final int expireLaterTunnels per expiry window, cumulative:expire30scovers the already-expired through 30s out, each later field the band above the previous one, andexpireLatereverything beyond 330s.goodExpire30s
public final int goodExpire30sGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.goodExpire90s
public final int goodExpire90sGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.goodExpire150s
public final int goodExpire150sGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.goodExpire210s
public final int goodExpire210sGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.goodExpire270s
public final int goodExpire270sGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.goodExpire330s
public final int goodExpire330sGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.goodExpireLater
public final int goodExpireLaterGOOD-status subsets of the matching expiry window above, in the same order, for proactive replacement.goodCount
public final int goodCountGOOD-status tunnels across every expiry window, fallbacks excluded.totalLatency
public final long totalLatencySummed 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; seeBuildExecutor.countExpiryBuckets(List, long)for how they are derived.- Parameters:
fallbackCount- zero-hop fallback tunnels, which never fill a deficitexpire30s- tunnels already expired or expiring within 30s of nowexpire90s- tunnels expiring after 30s but within 90sexpire150s- tunnels expiring after 90s but within 150sexpire210s- tunnels expiring after 150s but within 210sexpire270s- tunnels expiring after 210s but within 270sexpire330s- tunnels expiring after 270s but within 330sexpireLater- tunnels expiring more than 330s outgoodExpire30s- GOOD-status tunnels within 30s of expirygoodExpire90s- GOOD-status tunnels expiring after 30s but within 90sgoodExpire150s- GOOD-status tunnels expiring after 90s but within 150sgoodExpire210s- GOOD-status tunnels expiring after 150s but within 210sgoodExpire270s- GOOD-status tunnels expiring after 210s but within 270sgoodExpire330s- GOOD-status tunnels expiring after 270s but within 330sgoodExpireLater- GOOD-status tunnels expiring more than 330s outgoodCount- GOOD-status tunnels across every expiry windowtotalLatency- summed average latency of the GOOD tunnels, in milliseconds