Package net.i2p.router.tunnel.pool
Class RequestThrottler
- java.lang.Object
-
- net.i2p.router.tunnel.pool.RequestThrottler
-
class RequestThrottler extends Object
Like ParticipatingThrottler, but checked much earlier, cleaned more frequently, and with more than double the min and max limits. This is called before the request is queued or decrypted.- Since:
- 0.9.5
-
-
Constructor Summary
Constructors Constructor Description RequestThrottler(RouterContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
shouldThrottle(Hash h)
increments before checking
-
-
-
Constructor Detail
-
RequestThrottler
RequestThrottler(RouterContext ctx)
-
-
Method Detail
-
shouldThrottle
boolean shouldThrottle(Hash h)
increments before checking
-
-