Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getRuntime (0.11 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. src/main/java/jcifs/context/AbstractCIFSContext.java

        private static final Logger log = LoggerFactory.getLogger(AbstractCIFSContext.class);
        private boolean closed;
    
    
        /**
         * 
         */
        public AbstractCIFSContext () {
            Runtime.getRuntime().addShutdownHook(this);
        }
    
    
        /**
         * @param creds
         * @return a wrapped context with the given credentials
         */
        @Override
        public CIFSContext withCredentials ( Credentials creds ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    import java.util.Map;
    import java.util.Objects;
    
    public final class MemoryUtil {
        private MemoryUtil() {
        }
    
        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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

        protected ReadingConverter contentsReadingConverter;
        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)
  5. 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)
  6. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final Runtime runtime;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final Runtime runtime;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * java/lang/ref/FinalizationTester.java
       */
      @Throws(Exception::class)
      @JvmStatic
      fun awaitGarbageCollection() {
        Runtime.getRuntime().gc()
        Thread.sleep(100)
        System.runFinalization()
      }
    
      @JvmStatic
      fun assumeNetwork() {
        try {
          InetAddress.getByName("www.google.com")
        } catch (uhe: UnknownHostException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top