Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 104 of 104 for executorService (0.08 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          InetAddress.getByName("www.google.com")
        } catch (uhe: UnknownHostException) {
          throw TestAbortedException(uhe.message, uhe)
        }
      }
    
      fun OkHttpClient.close() {
        dispatcher.executorService.shutdown()
        connectionPool.evictAll()
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

    ```java
    package jcifs.internal.smb2.multichannel;
    
    import java.util.concurrent.*;
    
    public class ChannelFailover {
        private final ChannelManager manager;
        private final ExecutorService executor;
        private final Map<String, FailoverState> failoverStates;
        
        public ChannelFailover(ChannelManager manager) {
            this.manager = manager;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_2x.md

          <artifactId>okio</artifactId>
          <version>1.3.0</version>
        </dependency>
        ```
    
     *  **Fix: improve parallelism of async requests.** OkHttp's Dispatcher had a
        misconfigured `ExecutorService` that limited the number of worker threads.
        If you're using `Call.enqueue()` this update should significantly improve
        request concurrency.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

       * I/O takes place.
       */
      @Test
      fun canceledBeforeIOSignalsOnFailure() {
        // Force requests to be executed serially.
        val dispatcher = Dispatcher(client.dispatcher.executorService)
        dispatcher.maxRequests = 1
        client =
          client
            .newBuilder()
            .dispatcher(dispatcher)
            .build()
        val requestA = Request(server.url("/a"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
Back to top