- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for getRuntime (0.29 sec)
-
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* // some other action. For now we will just exit. * System.exit(1); * } * }, * MoreExecutors.directExecutor()); * * Runtime.getRuntime().addShutdownHook(new Thread() { * public void run() { * // Give the services 5 seconds to stop to ensure that we are responsive to shutdown * // requests. * try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
if (executorService == null) { int numThreads = ComponentUtil.getFessConfig().getRankFusionThreadsAsInteger(); if (numThreads <= 0) { numThreads = Runtime.getRuntime().availableProcessors() * 3 / 2 + 1; } executorService = Executors.newFixedThreadPool(numThreads); } } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
@Override public void run() { destroyContainer(); } }; Runtime.getRuntime().addShutdownHook(shutdownCallback); commandThread = new Thread(() -> { try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) { String command;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 31K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
append(buf, "unloaded", () -> classes.getUnloadedClassCount()); buf.append("},"); append(buf, "uptime", () -> jvmStats.getUptime().getMillis()); buf.append("},"); } private void appendProcessStats(final StringBuilder buf) { buf.append("\"process\":{");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
jvmClassesObj.total_loaded = classes.getTotalLoadedClassCount(); jvmClassesObj.unloaded = classes.getUnloadedClassCount(); jvmObj.uptime = jvmStats.getUptime().getMillis(); return jvmObj; } private ProcessObj getProcessObj() { final ProcessObj processObj = new ProcessObj(); final ProcessProbe processProbe = ProcessProbe.getInstance();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.7K bytes - Viewed (0)