Packages that use TestJob.PendingTest
Package
Description
Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
Uses of TestJob.PendingTest in net.i2p.router.tunnel.pool
Fields in net.i2p.router.tunnel.pool with type parameters of type TestJob.PendingTestModifier and TypeFieldDescription(package private) final Deque<TestJob.PendingTest> TestJob.BatchState.firstTestBufferFirst-test candidates awaiting batched dispatch, oldest first.Methods in net.i2p.router.tunnel.pool that return types with arguments of type TestJob.PendingTestModifier and TypeMethodDescription(package private) static List<TestJob.PendingTest> TestJob.prioritizeBatch(List<TestJob.PendingTest> scan, long now) Reorder one scan so the candidates that are about to expire go first: last-chance admitted tests sorted by soonest expiration, then everything else in its original buffer order.(package private) static List<TestJob.PendingTest> TestJob.prioritizeBatch(List<TestJob.PendingTest> scan, long now, RouterContext ctx) Reorder one scan: last-chance candidates first (soonest expiry), then the rest by peer tier.Methods in net.i2p.router.tunnel.pool with parameters of type TestJob.PendingTestModifier and TypeMethodDescription(package private) static voidTestJob.rebufferOne(TestJob.BatchState state, TestJob.PendingTest p) Put one candidate back at the buffer tail, used to rotate a candidate that is denied only for its own pool behind the rest of the scan so the drain is not blocked at the head by it.(package private) static intTestJob.tierRank(TestJob.PendingTest p, RouterContext ctx) Tier rank of a candidate's first hop, best first:0fast,1high-capacity,2untiered.Method parameters in net.i2p.router.tunnel.pool with type arguments of type TestJob.PendingTestModifier and TypeMethodDescription(package private) static List<TestJob.PendingTest> TestJob.prioritizeBatch(List<TestJob.PendingTest> scan, long now) Reorder one scan so the candidates that are about to expire go first: last-chance admitted tests sorted by soonest expiration, then everything else in its original buffer order.(package private) static List<TestJob.PendingTest> TestJob.prioritizeBatch(List<TestJob.PendingTest> scan, long now, RouterContext ctx) Reorder one scan: last-chance candidates first (soonest expiry), then the rest by peer tier.(package private) static voidTestJob.rebufferAll(TestJob.BatchState state, RouterContext ctx, List<TestJob.PendingTest> pending) Return candidates to the buffer head, preserving their order, after a gate denial or a lost claim race so the next pump run retries them instead of waiting for a sweep re-offer.