- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for calibrateCpuLoad (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java
* in test and production environments. */ @Override protected void delayForWaitingNewUrl() { try { ComponentUtil.getSystemHelper().calibrateCpuLoad(); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to calibrate CPU load", e); } } try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Nov 19 07:09:17 GMT 2025 - 5.1K bytes - Click Count (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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (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;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (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() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (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 }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (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; } } }); }; } /** * Get the write call for user info ndjson.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 32.1K bytes - Click Count (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();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.5K bytes - Click Count (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 } @Test public void test_calibrateCpuLoad_zeroTimeout() { final boolean result = systemHelper.calibrateCpuLoad(0L); assertTrue(result); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (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 {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0)