Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for calibrateCpuLoad (0.11 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                reader.addSort(SortBuilders.scoreSort());
                return reader;
            }, docPerReq, () -> {
                systemHelper.calibrateCpuLoad();
                ThreadUtil.sleep(interval);
            }).then(response -> {
                refresh();
                success.accept(true);
            }).error(t -> error.accept(t));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
Back to top