- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for calibrateCpuLoad (0.13 sec)
-
src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java
this.delayMillisForWaitingNewUrl = delayMillisForWaitingNewUrl; } @Override protected void delayForWaitingNewUrl() { ComponentUtil.getSystemHelper().calibrateCpuLoad(); try { final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper(); intervalControlHelper.checkCrawlerStatus();
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/app/web/admin/backup/AdminBackupAction.java
} catch (final IOException e) { throw new IORuntimeException(e); } if (!systemHelper.calibrateCpuLoad(timeout)) { breakCursor = true; } } }); }; } public static Consumer<Writer> getUserInfoNdjsonWriteCall() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
return file; } catch (final IOException e) { throw new IORuntimeException(e); } } public boolean calibrateCpuLoad() { return calibrateCpuLoad(0L); } public boolean calibrateCpuLoad(final long timeoutInMillis) { final short percent = ComponentUtil.getFessConfig().getAdaptiveLoadControlAsInteger().shortValue(); if (percent <= 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 27.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
*/ @Override public void store(final DataStoreParams paramMap, final Map<String, Object> dataMap) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); systemHelper.calibrateCpuLoad(); final long startTime = systemHelper.getCurrentTimeAsLong(); final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertNotNull(systemHelper.createTempFile("test", ".txt")); } public void test_calibrateCpuLoad() { systemHelper.setSystemCpuCheckInterval(0L); systemHelper.calibrateCpuLoad(); assertEquals(0, systemHelper.waitingThreadNames.size()); systemHelper.waitForNoWaitingThreads(); } public void test_getVersion() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
if (interval > 0) { // sleep ThreadUtil.sleep(interval); // 10 sec (default) } systemHelper.calibrateCpuLoad(); systemHelper.waitForNoWaitingThreads(); intervalControlHelper.delayByRules(); if (logger.isDebugEnabled()) {
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/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
} protected void process(final FessConfig fessConfig, final ThumbnailQueue entity) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); systemHelper.calibrateCpuLoad(); if (logger.isDebugEnabled()) { logger.debug("Processing thumbnail: {}", entity); } final String generatorName = entity.getGenerator(); try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 21.5K bytes - Viewed (0)