Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getRuntime (0.09 sec)

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

         */
        protected int queueShards = Runtime.getRuntime().availableProcessors() * 2;
    
        /**
         * Number of shards for the data index.
         */
        protected int dataShards = Runtime.getRuntime().availableProcessors() * 2;
    
        /**
         * Number of shards for the filter index.
         */
        protected int filterShards = Runtime.getRuntime().availableProcessors() * 2;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/AbstractCIFSContext.java

        private boolean closed;
    
        /**
         * Default constructor that registers a shutdown hook for cleanup
         */
        public AbstractCIFSContext() {
            Runtime.getRuntime().addShutdownHook(this);
        }
    
        /**
         * @param creds the credentials to use
         * @return a wrapped context with the given credentials
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/MemoryUtil.java

        /**
         * Gets a formatted memory usage log string.
         *
         * @return formatted memory usage information
         */
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
            final long maxBytes = runtime.maxMemory();
            final long totalBytes = runtime.totalMemory();
            final long usedBytes = totalBytes - freeBytes;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

        /** The analyzer. */
        protected SuggestAnalyzer analyzer;
        /** The thread pool. */
        protected ExecutorService threadPool;
    
        /** The thread pool size. */
        protected int threadPoolSize = Runtime.getRuntime().availableProcessors();
    
        /**
         * Sets the suggest settings.
         * @param settings The suggest settings.
         * @return This builder instance.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         */
        public synchronized int getTimeoutTaskCount() {
            return timeoutTaskList.size();
        }
    
        @Override
        public void run() {
            int nThreads = Runtime.getRuntime().availableProcessors() / 2;
            final String value = System.getProperty("corelib.timeout_task.num_of_threads");
            if (StringUtil.isNotBlank(value)) {
                try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                            logger.debug("Destroying LaContainer..");
                        }
                        destroyContainer();
                    }
                };
                Runtime.getRuntime().addShutdownHook(shutdownCallback);
    
                systemMonitorTask = TimeoutManager.getInstance()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                cpuLoad = operatingSystemMXBean.getProcessCpuLoad();
            } else {
                cpuLoad = -1;
            }
            final long maxMemory = Runtime.getRuntime().maxMemory();
            final long freeMemory = Runtime.getRuntime().freeMemory();
            final String msg = String.format(
                    "%d words from %d %s: {\"time\":{\"parse\":%d,\"index\":%d},\"cpu\":%f,\"mem\":{\"heap\":\"%dmb\",\"used\":\"%dmb\"}}",
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ResourceManager.java

                t.setDaemon(true);
                return t;
            };
            cleanupExecutor = Executors.newSingleThreadScheduledExecutor(threadFactory);
    
            // Add shutdown hook for cleanup
            Runtime.getRuntime().addShutdownHook(new Thread(this::shutdown, "ResourceManager-Shutdown"));
    
            startCleanupTask();
        }
    
        /**
         * Get the singleton instance
         *
         * @return ResourceManager instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                            logger.debug("Destroying LaContainer..");
                        }
                        destroyContainer();
                    }
                };
                Runtime.getRuntime().addShutdownHook(shutdownCallback);
    
                systemMonitorTask = TimeoutManager.getInstance()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. build.gradle.kts

        javaLauncher.set(javaToolchains.launcherFor {
          languageVersion.set(JavaLanguageVersion.of(testJavaVersion))
        })
    
        maxParallelForks = Runtime.getRuntime().availableProcessors() * 2
        testLogging {
          exceptionFormat = TestExceptionFormat.FULL
        }
    
        systemProperty("okhttp.platform", platform)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top