net.i2p.router.tunnel.pool
Class RequestThrottler

java.lang.Object
  extended by 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
RequestThrottler(RouterContext ctx)
           
 
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
 

Constructor Detail

RequestThrottler

RequestThrottler(RouterContext ctx)
Method Detail

shouldThrottle

boolean shouldThrottle(Hash h)
increments before checking