- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for getRuntime (0.08 sec)
-
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) -
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) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
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) -
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) -
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()::exit); } @VisibleForTesting interface RuntimeWrapper { void exit(int status); } @VisibleForTesting static final class Exiter implements UncaughtExceptionHandler {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
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 Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
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()::exit); } @VisibleForTesting interface RuntimeWrapper { void exit(int status); } @VisibleForTesting static final class Exiter implements UncaughtExceptionHandler {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
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 Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
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)