Packages that use BuildExecutor.Result
Package
Description
Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
Uses of BuildExecutor.Result in net.i2p.router.tunnel.pool
Subclasses with type arguments of type BuildExecutor.Result in net.i2p.router.tunnel.poolModifier and TypeClassDescription(package private) static enumBuild result enumeration.Methods in net.i2p.router.tunnel.pool that return BuildExecutor.ResultModifier and TypeMethodDescriptionstatic BuildExecutor.ResultReturns the enum constant of this class with the specified name.static BuildExecutor.Result[]BuildExecutor.Result.values()Returns an array containing the constants of this enum class, in the order they are declared.(package private) static BuildExecutor.ResultBuildExecutor.windowResult(byte entry) The outcome recorded in a window entry.Methods in net.i2p.router.tunnel.pool with parameters of type BuildExecutor.ResultModifier and TypeMethodDescription(package private) voidAliasedTunnelPool.buildComplete(PooledTunnelCreatorConfig cfg, BuildExecutor.Result result) voidBuildExecutor.buildComplete(PooledTunnelCreatorConfig cfg, BuildExecutor.Result result) Handle a completed tunnel build.voidBuildExecutor.buildComplete(PooledTunnelCreatorConfig cfg, BuildExecutor.Result result, String detail) Handle a completed tunnel build with additional detail.(package private) voidTunnelPool.buildComplete(PooledTunnelCreatorConfig cfg, BuildExecutor.Result result) Remove from the _inprogress list and call addTunnel() if result is SUCCESS.(package private) static StringBuildExecutor.buildOutcomeEvent(BuildExecutor.Result result) Which outcome bucket a build result belongs to.(package private) static booleanBuildExecutor.countsAsPoolFailure(BuildExecutor.Result result) Pool-backoff counting excludes results that are not peer failures: SUCCESS, DUP_ID (already handled), REJECT (peer said no), NO_TUNNELS (local resource condition), NO_NETDB (local netdb miss), and SKIPPED (local policy, no build dispatched).private voidTunnelPool.handleBuildResult(PooledTunnelCreatorConfig cfg, BuildExecutor.Result result) Handle the build result: update the consecutive timeout counter and the paired tunnel profile per outcome.private voidBuildExecutor.recordBuildDirection(PooledTunnelCreatorConfig cfg, BuildExecutor.Result result) Record one build outcome against the direction being built.private voidTunnelPool.recordPeerCooldownOnReject(PooledTunnelCreatorConfig cfg, BuildExecutor.Result result) Record peer cooldown on build failure so bad OBEPs/IBGWs aren't retried.private voidBuildExecutor.updateBuildStats(BuildExecutor.Result result, boolean inbound) Update success/failure/timeout counters and calculate adaptive timeout.(package private) static byteBuildExecutor.windowEntry(BuildExecutor.Result result, boolean inbound) Pack a build outcome and its direction into one window entry.(package private) static intBuildExecutor.windowResultCount(byte[] results, int count, BuildExecutor.Result want) How many of the firstcountwindow entries recordedwantas their outcome.