Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for availableProcessors (0.16 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchCrawlerConfig.java

        protected String filterIndex = ".crawler.filter";
    
        protected int queueShards = Runtime.getRuntime().availableProcessors() * 2;
    
        protected int dataShards = Runtime.getRuntime().availableProcessors() * 2;
    
        protected int filterShards = Runtime.getRuntime().availableProcessors() * 2;
    
        protected int queueReplicas = 1;
    
        protected int dataReplicas = 1;
    
        protected int filterReplicas = 1;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

        protected Normalizer normalizer;
        protected SuggestAnalyzer analyzer;
        protected ExecutorService threadPool;
    
        protected int threadPoolSize = Runtime.getRuntime().availableProcessors();
    
        public SuggesterBuilder settings(final SuggestSettings settings) {
            this.settings = settings;
            settingsBuilder = null;
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  4. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("XXXC"));
    
            int cpus = Runtime.getRuntime().availableProcessors();
            assertEquals((int) (cpus * 2.2), cli.calculateDegreeOfConcurrency("2.2C"));
            assertEquals(1, cli.calculateDegreeOfConcurrency("0.0001C"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
                    int threads = Integer.parseInt(threadConfiguration);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
                    int threads = Integer.parseInt(threadConfiguration);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top