Searched refs:maxRequests (Results 1 – 6 of 6) sorted by relevance
37 private int maxRequests = 64; field in Dispatcher74 public synchronized void setMaxRequests(int maxRequests) { in setMaxRequests() argument75 if (maxRequests < 1) { in setMaxRequests()76 throw new IllegalArgumentException("max < 1: " + maxRequests); in setMaxRequests()78 this.maxRequests = maxRequests; in setMaxRequests()83 return maxRequests; in getMaxRequests()108 if (runningCalls.size() < maxRequests && runningCallsForHost(call) < maxRequestsPerHost) { in enqueue()146 if (runningCalls.size() >= maxRequests) return; // Already running max capacity. in promoteCalls()158 if (runningCalls.size() >= maxRequests) return; // Reached max capacity. in promoteCalls()
132 int maxRequests=__DEFAULT_PASSES; in init() local134 maxRequests=Integer.parseInt(filterConfig.getInitParameter(MAX_REQUESTS_INIT_PARAM)); in init()135 _passes=new Semaphore(maxRequests,true); in init()136 _maxRequests = maxRequests; in init()
213 int maxRequests = __DEFAULT_MAX_REQUESTS_PER_SEC; in init() local216 maxRequests = Integer.parseInt(parameter); in init()217 setMaxRequestsPerSec(maxRequests); in init()
2 maxRequests: maximum number of requests allowed to be processedat the same time. key
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...