Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isForceStop (0.04 sec)

  1. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            private boolean forceStop = false;
            private boolean componentAvailable = true;
            private final AtomicInteger cpuLoadCallCount = new AtomicInteger(0);
    
            @Override
            public boolean isForceStop() {
                return forceStop;
            }
    
            @Override
            public void setForceStop(boolean forceStop) {
                this.forceStop = forceStop;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  3. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Checks if the system is in a force-stop state.
         *
         * @return true if the system is force-stopping, false otherwise.
         */
        public boolean isForceStop() {
            return forceStop.get();
        }
    
        /**
         * Sets the force-stop state of the system.
         *
         * @param b true to force-stop the system.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top