- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for intervalControlHelper (0.17 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/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) -
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) -
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)