- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for CompletableFuture (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
// Stop all async notification tasks first List<CompletableFuture<Void>> taskFutures = new ArrayList<>(asyncNotifyTasks.values()); for (CompletableFuture<Void> task : taskFutures) { task.cancel(true); } asyncNotifyTasks.clear(); // Unregister all active registrations List<CompletableFuture<Void>> unregisterFutures = new ArrayList<>();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.IOException; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
*/ public CompletableFuture<Void> getNotificationFuture() { return notificationFuture; } /** * Sets the future for asynchronous notification completion * @param future the notification future to set */ public void setNotificationFuture(CompletableFuture<Void> future) { this.notificationFuture = future;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
*/ public CompletableFuture<HandleInfo> reconnectHandle(HandleInfo handleInfo, Exception cause) { if (handleInfo == null) { return CompletableFuture.failedFuture(new IOException("Handle info cannot be null")); } if (handleInfo.isExpired()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.net.InetAddress; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
} public CompletableFuture<WitnessRegistration> registerForNotifications( String shareName, InetAddress serverAddress, WitnessNotificationListener listener) { return CompletableFuture.supplyAsync(() -> { try { // Create registrationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
this.retryDelay = 1000; // 1 second } public CompletableFuture<SmbFile> reconnectHandle(SmbFile file, Exception cause) { String path = file.getPath(); HandleInfo info = handleManager.getHandleForReconnect(path); if (info == null) { return CompletableFuture.failedFuture( new IOException("No durable handle available for reconnection"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
import assertk.assertions.startsWith import assertk.fail import java.io.IOException import java.net.ServerSocket import java.net.Socket import java.net.SocketException import java.util.concurrent.CompletableFuture import java.util.concurrent.RejectedExecutionException import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import okhttp3.Call import okhttp3.Callback import okhttp3.DelegatingServerSocketFactory
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0)