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

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Dispatcher.java 35 private int maxRequests = 64;
66 * <p>If more than {@code maxRequests} requests are in flight when this is
69 public synchronized void setMaxRequests(int maxRequests) {
70 if (maxRequests < 1) {
71 throw new IllegalArgumentException("max < 1: " + maxRequests);
73 this.maxRequests = maxRequests;
78 return maxRequests;
108 if (runningJobs.size() < maxRequests && runningJobsForHost(job) < maxRequestsPerHost) {
137 if (runningJobs.size() >= maxRequests) return; // Already running max capacity
    [all...]
  /external/smack/src/com/kenai/jbosh/
BOSHClient.java 788 int maxRequests = requests.intValue();
789 if (exchanges.size() < maxRequests) {
792 if (exchanges.size() == maxRequests
    [all...]

Completed in 75 milliseconds