Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for intervalControlHelper (0.09 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
Back to top