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
Method Summary |
(package private) boolean |
shouldThrottle(Hash h)
increments before checking |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestThrottler
RequestThrottler(RouterContext ctx)
shouldThrottle
boolean shouldThrottle(Hash h)
- increments before checking