OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:maxRequests
(Results
1 - 4
of
4
) sorted by null
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Dispatcher.java
37
private int
maxRequests
= 64;
71
* <p>If more than {@code
maxRequests
} requests are in flight when this is
74
public synchronized void setMaxRequests(int
maxRequests
) {
75
if (
maxRequests
< 1) {
76
throw new IllegalArgumentException("max < 1: " +
maxRequests
);
78
this.
maxRequests
=
maxRequests
;
83
return
maxRequests
;
108
if (runningCalls.size() <
maxRequests
&& runningCallsForHost(call) < maxRequestsPerHost) {
146
if (runningCalls.size() >=
maxRequests
) return; // Already running max capacity
[
all
...]
/external/jetty/src/java/org/eclipse/jetty/servlets/
QoSFilter.java
46
* This filter limits the number of active requests to the number set by the "
maxRequests
" init parameter (default 10).
86
final static String MAX_REQUESTS_INIT_PARAM="
maxRequests
";
132
int
maxRequests
=__DEFAULT_PASSES;
134
maxRequests
=Integer.parseInt(filterConfig.getInitParameter(MAX_REQUESTS_INIT_PARAM));
135
_passes=new Semaphore(
maxRequests
,true);
136
_maxRequests =
maxRequests
;
DoSFilter.java
213
int
maxRequests
= __DEFAULT_MAX_REQUESTS_PER_SEC;
216
maxRequests
= Integer.parseInt(parameter);
217
setMaxRequestsPerSec(
maxRequests
);
[
all
...]
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar
Completed in 155 milliseconds