- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for calibrateCpuLoad (0.08 sec)
-
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; } } }); }; } /** * Get the write call for user info ndjson.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java
* interval control rules, and then calls the parent implementation. */ @Override protected void delayForWaitingNewUrl() { ComponentUtil.getSystemHelper().calibrateCpuLoad(); try { final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper(); intervalControlHelper.checkCrawlerStatus();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
private static class TestSystemHelper extends SystemHelper { long processingTime = 0; long currentTime = System.currentTimeMillis(); @Override public boolean calibrateCpuLoad() { // Do nothing return true; } @Override public long getCurrentTimeAsLong() { long time = currentTime;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
systemHelper.setSystemCpuCheckInterval(100L); final boolean result = systemHelper.calibrateCpuLoad(1L); assertTrue(result || !result); // Can be either depending on CPU load } public void test_calibrateCpuLoad_zeroTimeout() { final boolean result = systemHelper.calibrateCpuLoad(0L); assertTrue(result); } public void test_getSystemCpuPercent() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
*/ public boolean calibrateCpuLoad() { return calibrateCpuLoad(0L); } /** * Calibrates the CPU load with a timeout. * * @param timeoutInMillis The timeout in milliseconds. * @return true if the CPU load is within the acceptable range, false otherwise. */ public boolean calibrateCpuLoad(final long timeoutInMillis) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
@Override public long getCurrentTimeAsLong() { return System.currentTimeMillis(); } @Override public boolean calibrateCpuLoad() { return true; } } private static class MockPopularWordHelper extends PopularWordHelper { @Override public void clearCache() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
} @Override public String generateDocId(Map<String, Object> map) { return "doc_" + System.currentTimeMillis(); } @Override public boolean calibrateCpuLoad() { cpuLoadCallCount.incrementAndGet(); return true; } @Override public void waitForNoWaitingThreads() { // Do nothing in test }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0)