Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 97 of 97 for executorService (0.13 sec)

  1. CHANGELOG.md

     *  Fix: Call `ProxySelector.connectFailed()` when a connection's initial TCP handshake fails.
    
     *  Fix: Change the signature of `Dispatcher` to accept a nullable `ExecutorService`. Changing this
        parameter to be non-null was an unintended signature change in OkHttp 4.0.
    
     *  New: `EventListener.retryDecision()` is called each time a request fails with an `IOException`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  2. okhttp/api/android/okhttp.api

    }
    
    public final class okhttp3/Dispatcher {
    	public final fun -deprecated_executorService ()Ljava/util/concurrent/ExecutorService;
    	public fun <init> ()V
    	public fun <init> (Ljava/util/concurrent/ExecutorService;)V
    	public final fun cancelAll ()V
    	public final fun executorService ()Ljava/util/concurrent/ExecutorService;
    	public final fun getIdleCallback ()Ljava/lang/Runnable;
    	public final fun getMaxRequests ()I
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top