Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cancelAll (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        return if (connection.noNewExchanges || maxIdleConnections == 0) {
          connection.noNewExchanges = true
          connections.remove(connection)
          if (connections.isEmpty()) cleanupQueue.cancelAll()
          scheduleOpener(connection.route.address)
          true
        } else {
          scheduleCloser()
          false
        }
      }
    
      fun evictAll() {
        val i = connections.iterator()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top