Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withLocks (0.12 sec)

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

       */
      var idleCallback: Runnable? = null
        get() = this.withLock { field }
        set(value) {
          this.withLock { field = value }
        }
    
      private var executorServiceOrNull: ExecutorService? = null
    
      @get:JvmName("executorService")
      val executorService: ExecutorService
        get() =
          this.withLock {
            if (executorServiceOrNull == null) {
              executorServiceOrNull =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

    import okhttp3.FakeRoutePlanner
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.TestUtil.awaitGarbageCollection
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.Locks.withLock
    import okhttp3.internal.http2.Http2
    import okhttp3.internal.http2.Http2Connection
    import okhttp3.internal.http2.Http2ConnectionTest
    import okhttp3.internal.http2.MockHttp2Peer
    import okhttp3.internal.http2.Settings
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top