- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CompletableFuture (1.94 sec)
-
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 {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 24 13:19:43 GMT 2024 - 6.2K bytes - Viewed (0) -
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
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8K bytes - Viewed (0) -
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) */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 7.5K bytes - Viewed (0) -
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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 44.8K bytes - Viewed (0) -
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
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0)