Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for incrementSuccessCount (0.34 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

            callDone = !requestBodyOpen && !responseBodyOpen && !expectMoreExchanges
          }
        }
    
        if (bothStreamsDone) {
          this.exchange = null
          this.connection?.incrementSuccessCount()
        }
    
        if (callDone) {
          return callDone(e)
        }
    
        return e
      }
    
      internal fun noMoreExchanges(e: IOException?): IOException? {
        var callDone = false
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      internal fun noCoalescedConnections() {
        withLock {
          noCoalescedConnections = true
        }
      }
    
      internal fun incrementSuccessCount() {
        withLock {
          successCount++
        }
      }
    
      @Throws(IOException::class)
      fun start() {
        idleAtNs = System.nanoTime()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top