Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for availableProcessors (0.07 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            }
            return value;
        }
    
        Integer getProcessorsAsInteger();
    
        default int availableProcessors() {
            final int num = getProcessorsAsInteger();
            if (num > 0) {
                return num;
            }
            return Runtime.getRuntime().availableProcessors();
        }
    
        Integer getCrawlerHttpThreadPoolSizeAsInteger();
    
        default int getCrawlerHttpProcessors() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Striped.java

     * and memory footprint. For example, if a set of tasks are CPU-bound, one could easily create a
     * very compact {@code Striped<Lock>} of {@code availableProcessors() * 4} stripes, instead of
     * possibly thousands of locks which could be created in a {@code Map<K, Lock>} structure.
     *
     * @author Dimitris Andreou
     * @since 13.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    int numThreads = ComponentUtil.getFessConfig().getRankFusionThreadsAsInteger();
                    if (numThreads <= 0) {
                        numThreads = Runtime.getRuntime().availableProcessors() * 3 / 2 + 1;
                    }
                    executorService = Executors.newFixedThreadPool(numThreads);
                }
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            if ("adaptive".equalsIgnoreCase(value)) {
                if (fessConfig.availableProcessors() >= 4) {
                    return null;
                }
                final String requestsPerSecond = String.valueOf(fessConfig.getIndexReindexSizeAsInteger() * fessConfig.availableProcessors());
                logger.info("Set requests_per_second to {}", requestsPerSecond);
                return requestsPerSecond;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top