Packages that use ParticipatingThrottler.Result
Package
Description
Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
Uses of ParticipatingThrottler.Result in net.i2p.router.tunnel.pool
Subclasses with type arguments of type ParticipatingThrottler.Result in net.i2p.router.tunnel.poolModifier and TypeClassDescriptionstatic enumResult of throttling decision for tunnel participation requests.Methods in net.i2p.router.tunnel.pool that return ParticipatingThrottler.ResultModifier and TypeMethodDescriptionprivate ParticipatingThrottler.ResultParticipatingThrottler.evaluateThrottleConditions(int count, int limit, boolean shouldThrottle, boolean isFast, boolean isLowShare, boolean isUnreachable, Hash h, String caps, boolean isBanned, int bantime, RouterInfo ri, boolean countRequest) Evaluates whether to accept, reject, or drop tunnel requests based on probabilistic rejection curve modulated by system load.(package private) ParticipatingThrottler.ResultParticipatingThrottler.shouldThrottle(Hash h) Determines whether to throttle tunnel participation for the given router, counting the request against the peer's limit.(package private) ParticipatingThrottler.ResultParticipatingThrottler.shouldThrottle(Hash h, boolean countRequest) Determines whether to throttle tunnel participation for the given router.Returns the enum constant of this class with the specified name.static ParticipatingThrottler.Result[]ParticipatingThrottler.Result.values()Returns an array containing the constants of this enum class, in the order they are declared.