HomeSort by relevance Sort by last modified time
    Searched refs:maxRequestsPerHost (Results 1 - 6 of 6) sorted by null

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Dispatcher.java 38 private int maxRequestsPerHost = 5;
92 * <p>If more than {@code maxRequestsPerHost} requests are in flight when this
95 public synchronized void setMaxRequestsPerHost(int maxRequestsPerHost) {
96 if (maxRequestsPerHost < 1) {
97 throw new IllegalArgumentException("max < 1: " + maxRequestsPerHost);
99 this.maxRequestsPerHost = maxRequestsPerHost;
104 return maxRequestsPerHost;
108 if (runningCalls.size() < maxRequests && runningCallsForHost(call) < maxRequestsPerHost) {
152 if (runningCallsForHost(call) < maxRequestsPerHost) {
    [all...]
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.2/
okhttp-2.7.2.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.4/
okhttp-2.7.4.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.3.0/
okhttp-3.3.0.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.4.1/
okhttp-3.4.1.jar 

Completed in 97 milliseconds