Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for finishCrawling (0.07 seconds)

  1. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        }
    
        /**
         * Sets the flag indicating whether crawling should be finished.
         *
         * @param finishCrawling true if crawling should be finished, false otherwise
         */
        public void setFinishCrawling(final boolean finishCrawling) {
            this.finishCrawling = finishCrawling;
        }
    
        /**
         * Gets the total number of documents processed.
         *
         * @return the total document count
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.finishCrawling = false;
    
            indexUpdater.destroy();
    
            assertTrue(crawler.stopCalled);
        }
    
        // Test destroy when crawling is finished
        @Test
        public void test_destroy_finished() {
            indexUpdater.finishCrawling = true;
            indexUpdater.destroy();
            // finishCrawling should be set when max empty list count is exceeded
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

        protected void startCrawling() {
            crawlerContext.incrementAndGetActiveThreadCount();
        }
    
        /**
         * Decrements the active thread count using atomic operation.
         */
        protected void finishCrawling() {
            crawlerContext.decrementAndGetActiveThreadCount();
        }
    
        /**
         * Checks if the crawling process should continue.
         * @param tcCount The thread check count.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Dec 31 09:07:38 GMT 2025
    - 20.3K bytes
    - Click Count (0)
Back to Top