Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setActiveThreadCount (0.84 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            crawlerContext.setActiveThreadCount(5);
            assertEquals(5, crawlerContext.getActiveThreadCount().intValue());
    
            crawlerContext.setActiveThreadCount(0);
            assertEquals(0, crawlerContext.getActiveThreadCount().intValue());
    
            crawlerContext.setActiveThreadCount(-1);
            assertEquals(-1, crawlerContext.getActiveThreadCount().intValue());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

        }
    
        /**
         * Test finishCrawling decrements active thread count.
         */
        public void test_finishCrawling() throws Exception {
            crawlerContext.setActiveThreadCount(1);
    
            // Use reflection to access protected method
            final java.lang.reflect.Method method = CrawlerThread.class.getDeclaredMethod("finishCrawling");
            method.setAccessible(true);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

            return activeThreadCount;
        }
    
        /**
         * Sets the active thread count.
         * @param activeThreadCount The active thread count.
         */
        public void setActiveThreadCount(final Integer activeThreadCount) {
            this.activeThreadCount = activeThreadCount;
        }
    
        /**
         * Returns the access count.
         * @return The access count.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top