- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ForkJoinPool (0.27 sec)
-
src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java
protected CommonPoolUtil() { // nothing } /** * Executes the given task in the common ForkJoinPool. * * @param task * the task to execute */ public static void execute(final Runnable task) { ForkJoinPool.commonPool().execute(() -> { final Thread currentThread = Thread.currentThread();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
} @Test public void testMultipleThreadPoolCalls() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); ForkJoinPool pool1 = new ForkJoinPool(2); ForkJoinPool pool2 = new ForkJoinPool(4); // Multiple threadPool calls should work request.threadPool(pool1); request.threadPool(pool2); assertNotNull(request); }Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
import java.net.HttpURLConnection; import java.net.Proxy; import java.net.URL; import java.net.URLEncoder; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ForkJoinPool; import java.util.function.BiConsumer; import java.util.function.Consumer; import java.util.function.Supplier; import java.util.logging.Logger; import java.util.zip.GZIPInputStream;
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0)