Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getRuntime (0.06 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;
    
    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. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                    String filename = file.getFileName().toString();
                    if (mavenArtifactJar.matcher(filename).matches()) {
                        Process p = Runtime.getRuntime().exec(new String[] {
                            Paths.get(System.getProperty("java.home"), "bin/java").toString(),
                            "-jar",
                            file.toAbsolutePath().toString(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            callerInfo = new NullPointerException().getStackTrace()[2];
    
            Runnable warning = this::maybeWarnAboutCleanUp;
    
            cleanupWarning = new Thread(warning);
    
            Runtime.getRuntime().addShutdownHook(cleanupWarning);
        }
    
        private void maybeWarnAboutCleanUp() {
            if (warnAboutCleanup) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. 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)
  5. 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 {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. 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 {
    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