Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensureAllTaskQueuesIdle (0.21 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          connectionPool.evictAll()
          assertEquals(0, connectionPool.connectionCount()) {
            "Still ${connectionPool.connectionCount()} connections open"
          }
        }
      }
    
      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top