- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ShutdownHook (0.33 sec)
-
subprojects/core/src/main/java/org/gradle/process/internal/shutdown/ShutdownHooks.java
public static void addShutdownHook(Runnable shutdownHook) { Thread thread = new Thread(shutdownHook, "gradle-shutdown-hook"); HOOKS.put(shutdownHook, thread); Runtime.getRuntime().addShutdownHook(thread); } public static void removeShutdownHook(Runnable shutdownHook) { try { Thread thread = HOOKS.remove(shutdownHook); if (thread != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 12 05:56:18 UTC 2021 - 2K bytes - Viewed (0) -
maven-jline/src/main/java/org/apache/maven/jline/MessageUtils.java
} public static void registerShutdownHook() { if (shutdownHook == null) { shutdownHook = new Thread(() -> { synchronized (MessageUtils.STARTUP_SHUTDOWN_MONITOR) { MessageUtils.doSystemUninstall(); } }); Runtime.getRuntime().addShutdownHook(shutdownHook); } } public static void systemUninstall() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 13:48:49 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
SingletonLaContainerFactory.init(); final Thread shutdownCallback = new Thread("ShutdownHook") { @Override public void run() { destroyContainer(); } }; Runtime.getRuntime().addShutdownHook(shutdownCallback);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 24.1K bytes - Viewed (0)