Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. IntervalControlHelper.java

    L19:import java.util.Calendar; L20:import java.util.List; L21: L22:import org.codelibs.core.lang.ThreadUtil; L23:import org.codelibs.fess.exception.FessSystemException; L24:import org.codelibs.fess.util.ComponentUtil; L25: L26:public class IntervalControlHelper { L27: L28: protected volatile boolean crawlerRunning = true; L29: L30: protected long crawlerWaitMillis = 10000; L31: L32: protected List<IntervalRule> ruleList = new ArrayList<>(); L33: L34: public void checkCrawlerStatus() {...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      5.8K bytes
  2. IntervalControlHelperTest.java

    final IntervalControlHelper intervalControlHelper = createHelper("00:00", 1); L41: intervalControlHelper.addIntervalRule("01:30", "15:15", "*", 1000); L42: assertEquals(0, intervalControlHelper.getDelay()); L43: L44: intervalControlHelper.addIntervalRule("16:30", "0:15", "*", 2000); L45: assertEquals(2000, intervalControlHelper.getDelay()); L46: L47: intervalControlHelper.ruleList.clear(); L48: L49: intervalControlHelper.addIntervalRule("22:15", "2:45", "1",...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      4.2K bytes
  3. FessIntervalController.java

    @Override L57: protected void delayForWaitingNewUrl() { L58: ComponentUtil.getSystemHelper().calibrateCpuLoad(); L59: try { L60: final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper(); L61: intervalControlHelper.checkCrawlerStatus(); L62: intervalControlHelper.delayByRules(); L63: } catch (final Exception e) {} L64: L65: super.delayForWaitingNewUrl(); L66: } L67:}...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      2.4K bytes
  4. IndexUpdater.java

    logger.info(buf.toString()); L533: } L534: final long unprocessedDocumentSize = fessConfig.getIndexerUnprocessedDocumentSizeAsInteger().longValue(); L535: final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper(); L536: if (totalHits > unprocessedDocumentSize && intervalControlHelper.isCrawlerRunning()) { L537: if (logger.isInfoEnabled()) { L538: logger.info("Stopped all crawler threads. You have {} (>{}) unprocessed docs.",...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      24.2K bytes
  5. ComponentUtil.java

    L46:import org.codelibs.fess.helper.DocumentHelper; L47:import org.codelibs.fess.helper.DuplicateHostHelper; L48:import org.codelibs.fess.helper.FileTypeHelper; L49:import org.codelibs.fess.helper.IndexingHelper; L50:import org.codelibs.fess.helper.IntervalControlHelper; L51:import org.codelibs.fess.helper.JobHelper; L52:import org.codelibs.fess.helper.KeyMatchHelper; L53:import org.codelibs.fess.helper.LabelTypeHelper; L54:import org.codelibs.fess.helper.LanguageHelper; L55:import org.codelibs.fess.helpe...
    github.com/codelibs/fess/src/main/java/org/code...
    Mon Jun 17 13:35:51 UTC 2024
      20.2K bytes
Back to top