Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isForceStop (0.14 sec)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_setForceStop() {
            assertFalse(systemHelper.isForceStop());
            systemHelper.setForceStop(true);
            assertTrue(systemHelper.isForceStop());
            systemHelper.setForceStop(false);
            assertFalse(systemHelper.isForceStop());
        }
    
        public void test_generateDocId() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            try {
                while (startedCrawlerNum < crawlerList.size()) {
                    // Force to stop crawl
                    if (systemHelper.isForceStop()) {
                        for (final Crawler crawler : crawlerList) {
                            crawler.stop();
                        }
                        break;
                    }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            }
    
            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            while (startedCrawlerNum < dataCrawlingThreadList.size()) {
                // Force to stop crawl
                if (systemHelper.isForceStop()) {
                    for (final DataCrawlingThread crawlerThread : dataCrawlingThreadList) {
                        crawlerThread.stopCrawling();
                    }
                    break;
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                        }
                        errorCount++;
                        logger.warn("Failed to access data. Retry to access it {} times.", errorCount, e);
                    } finally {
                        if (systemHelper.isForceStop()) {
                            finishCrawling = true;
                            if (logger.isDebugEnabled()) {
                                logger.debug("Stopped indexUpdater.");
                            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return fileList;
        }
    
        protected File getDesignJspFile(final String path) {
            return new File(LaServletContextUtil.getServletContext().getRealPath(path));
        }
    
        public boolean isForceStop() {
            return forceStop.get();
        }
    
        public void setForceStop(final boolean b) {
            forceStop.set(b);
        }
    
        public String generateDocId(final Map<String, Object> map) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top