Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ForkJoinPool (0.13 sec)

  1. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

    package org.codelibs.core.concurrent;
    
    import java.util.concurrent.ForkJoinPool;
    
    import org.codelibs.core.log.Logger;
    
    public class CommonPoolUtil {
        private static final Logger logger = Logger.getLogger(CommonPoolUtil.class);
    
        private CommonPoolUtil() {
            // nothing
        }
    
        public static void execute(final Runnable task) {
            ForkJoinPool.commonPool().execute(() -> {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertEquals(result, crawlingInfoHelper.generateId(dataMap));
    
            final AtomicInteger counter = new AtomicInteger(0);
            final ForkJoinPool pool = new ForkJoinPool(10);
            for (int i = 0; i < 1000; i++) {
                pool.execute(() -> {
                    assertEquals(result, crawlingInfoHelper.generateId(dataMap));
                    counter.incrementAndGet();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. 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: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top