Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ForkJoinPool (0.05 sec)

  1. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testThreadPoolMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            ForkJoinPool pool = new ForkJoinPool();
    
            CurlRequest result = request.threadPool(pool);
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testEncodingSpecialCharacters() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top