- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for intervalControlHelper (0.23 sec)
-
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) -
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) -
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) -
src/main/webapp/WEB-INF/env/crawler/resources/app.xml
</component> <component name="duplicateHostHelper" class="org.codelibs.fess.helper.DuplicateHostHelper"> </component> <component name="intervalControlHelper" class="org.codelibs.fess.helper.IntervalControlHelper"> <!-- <postConstruct name="addIntervalRule"> <arg>"5:00"</arg> <arg>"10:00"</arg> <arg>"2,3,4,5,6"</arg> <arg>3600000</arg> </postConstruct> -->
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Apr 09 02:14:47 UTC 2022 - 1.8K bytes - Viewed (0)