- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for availableProcessors (0.46 sec)
-
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) -
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) -
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)