Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setForceStop (0.16 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/indexer/IndexUpdater.java

                logger.info("Deleted completed document data. The execution time is {}ms.", systemHelper.getCurrentTimeAsLong() - execTime);
            }
        }
    
        private void forceStop() {
            systemHelper.setForceStop(true);
            for (final Crawler crawler : crawlerList) {
                crawler.stop();
            }
        }
    
        public long getExecuteTime() {
            return executeTime;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            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) {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
    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