Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reuseCallsPerHostFrom (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

              // the same host.
              if (!enqueuedCall.call.forWebSocket) {
                val existingCall = findExistingCallWithHost(enqueuedCall.host)
                if (existingCall != null) enqueuedCall.reuseCallsPerHostFrom(existingCall)
              }
            }
    
            val becameIdle =
              (finishedCall != null || finishedAsyncCall != null) &&
                (executorIsShutdown || runningAsyncCalls.isEmpty()) &&
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:22 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      inner class AsyncCall(
        private val responseCallback: Callback,
      ) : Runnable {
        @Volatile var callsPerHost = AtomicInteger(0)
          private set
    
        fun reuseCallsPerHostFrom(other: AsyncCall) {
          this.callsPerHost = other.callsPerHost
        }
    
        val host: String
          get() = originalRequest.url.host
    
        val request: Request
          get() = originalRequest
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top