Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for CompletableFuture (0.08 sec)

  1. guava/src/com/google/common/util/concurrent/FluentFuture.java

     * </ul>
     *
     * <h4>{@link java.util.concurrent.CompletableFuture} / {@link java.util.concurrent.CompletionStage}
     * </h4>
     *
     * <p>Users of {@code CompletableFuture} will likely want to continue using {@code
     * CompletableFuture}. {@code FluentFuture} is targeted at people who use {@code ListenableFuture},
     * who can't use Java 8, or who want an API more focused than {@code CompletableFuture}. (If you
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

        val negotiatedProtocol: String,
        val content: String,
      )
    
      private fun execute(
        engine: HttpEngine,
        executor: ExecutorService,
        url: String,
      ): CompletableFuture<Response> {
        val completableFuture = CompletableFuture<Response>()
        val buffer = Buffer()
    
        val req =
          engine.newUrlRequestBuilder(
            url,
            executor,
            object : Callback {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 24 13:19:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isNotNull
    import java.io.IOException
    import java.net.InetAddress
    import java.util.concurrent.CompletableFuture
    import java.util.concurrent.TimeUnit.SECONDS
    import javax.net.ssl.SNIHostName
    import javax.net.ssl.SNIMatcher
    import javax.net.ssl.SNIServerName
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.StandardConstants
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

     * that, whenever possible, it is strongly preferred to modify those libraries to return {@code
     * ListenableFuture} directly.
     *
     * <p>For interoperability between {@code ListenableFuture} and <b>{@code CompletableFuture}</b>,
     * consider <a href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.
     *
     * @author Sven Mawson
     * @since 10.0 (replacing {@code Futures.makeListenable}, which existed in 1.0)
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

     * that, whenever possible, it is strongly preferred to modify those libraries to return {@code
     * ListenableFuture} directly.
     *
     * <p>For interoperability between {@code ListenableFuture} and <b>{@code CompletableFuture}</b>,
     * consider <a href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.
     *
     * @author Sven Mawson
     * @since 10.0 (replacing {@code Futures.makeListenable}, which existed in 1.0)
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p>Caffeine's API for asynchronous operations uses {@code CompletableFuture}: <a
     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/caffeine/latest/com.github.benmanes.caffeine/com/github/benmanes/caffeine/cache/AsyncLoadingCache.html#get(K)">{@code
     * AsyncLoadingCache.get}</a> returns a {@code CompletableFuture}, and implementations of <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p>Caffeine's API for asynchronous operations uses {@code CompletableFuture}: <a
     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/caffeine/latest/com.github.benmanes.caffeine/com/github/benmanes/caffeine/cache/AsyncLoadingCache.html#get(K)">{@code
     * AsyncLoadingCache.get}</a> returns a {@code CompletableFuture}, and implementations of <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top