Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setThreadPriority (1.25 sec)

  1. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                }
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Crawling {}", urlsStr);
                }
    
                crawler.setBackground(true);
                crawler.setThreadPriority(crawlerPriority);
    
                crawlerList.add(crawler);
                crawlerStatusList.add(Constants.READY);
            }
    
            // File
            for (final FileConfig fileConfig : fileConfigList) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            crawlerContext.maxAccessCount = maxAccessCount;
        }
    
        /**
         * Sets the priority for crawler threads.
         * @param threadPriority The thread priority.
         */
        public void setThreadPriority(final int threadPriority) {
            this.threadPriority = threadPriority;
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            assertFalse(testCrawler.isDaemon());
        }
    
        public void test_threadPriority() throws Exception {
            final Crawler testCrawler = container.getComponent("crawler");
    
            testCrawler.setThreadPriority(Thread.MAX_PRIORITY);
            // Cannot directly verify thread priority, but ensure no exception
        }
    
        public void test_setters() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top