Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ThreadPoolExecutor (3.28 sec)

  1. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                }
            }
            if (nThreads < 1) {
                nThreads = 1;
            }
            final ExecutorService executorService = new ThreadPoolExecutor(nThreads, nThreads, 0L, TimeUnit.MILLISECONDS,
                    new LinkedBlockingQueue<Runnable>(nThreads), new ThreadPoolExecutor.CallerRunsPolicy());
            try {
                while (!isInterrupted() && !stopIfLeisure()) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

         * @param nThreads the number of threads in the pool
         * @return a new ThreadPoolExecutor configured for this callback
         */
        protected ExecutorService newFixedThreadPool(final int nThreads) {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialized executor thread pool: size={}", nThreads);
            }
            return new ThreadPoolExecutor(nThreads, nThreads, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>(nThreads),
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
Back to top