Home
last modified time | relevance | path

Searched refs:maxRequests (Results 1 – 6 of 6) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DDispatcher.java37 private int maxRequests = 64; field in Dispatcher
74 public synchronized void setMaxRequests(int maxRequests) { in setMaxRequests() argument
75 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()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DQoSFilter.java132 int maxRequests=__DEFAULT_PASSES; in init() local
134 maxRequests=Integer.parseInt(filterConfig.getInitParameter(MAX_REQUESTS_INIT_PARAM)); in init()
135 _passes=new Semaphore(maxRequests,true); in init()
136 _maxRequests = maxRequests; in init()
DDoSFilter.java213 int maxRequests = __DEFAULT_MAX_REQUESTS_PER_SEC; in init() local
216 maxRequests = Integer.parseInt(parameter); in init()
217 setMaxRequestsPerSec(maxRequests); in init()
/external/jetty/src/resources/org/eclipse/jetty/servlets/jmx/
DQoSFilter-mbean.properties2 maxRequests: maximum number of requests allowed to be processedat the same time. key
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...