Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

    import java.util.Calendar;
    import java.util.List;
    
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class IntervalControlHelper {
    
        protected volatile boolean crawlerRunning = true;
    
        protected long crawlerWaitMillis = 10000;
    
        protected List<IntervalRule> ruleList = new ArrayList<>();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            intervalControlHelper.addIntervalRule("01:30", "15:15", "*", 1000);
            assertEquals(0, intervalControlHelper.getDelay());
    
            intervalControlHelper.addIntervalRule("16:30", "0:15", "*", 2000);
            assertEquals(2000, intervalControlHelper.getDelay());
    
            intervalControlHelper.ruleList.clear();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

        protected void delayForWaitingNewUrl() {
            ComponentUtil.getSystemHelper().calibrateCpuLoad();
            try {
                final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper();
                intervalControlHelper.checkCrawlerStatus();
                intervalControlHelper.delayByRules();
            } catch (final Exception e) {}
    
            super.delayForWaitingNewUrl();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
            final long unprocessedDocumentSize = fessConfig.getIndexerUnprocessedDocumentSizeAsInteger().longValue();
            final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper();
            if (totalHits > unprocessedDocumentSize && intervalControlHelper.isCrawlerRunning()) {
                if (logger.isInfoEnabled()) {
    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/util/ComponentUtil.java

    import org.codelibs.fess.helper.DocumentHelper;
    import org.codelibs.fess.helper.DuplicateHostHelper;
    import org.codelibs.fess.helper.FileTypeHelper;
    import org.codelibs.fess.helper.IndexingHelper;
    import org.codelibs.fess.helper.IntervalControlHelper;
    import org.codelibs.fess.helper.JobHelper;
    import org.codelibs.fess.helper.KeyMatchHelper;
    import org.codelibs.fess.helper.LabelTypeHelper;
    import org.codelibs.fess.helper.LanguageHelper;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top