Class SignalUtils
java.lang.Object
org.springframework.boot.loader.tools.SignalUtils
Utilities for working with signal handling.
- Since:
- 1.1.0
- Author:
- Dave Syer
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
attachSignalHandler
(Runnable runnable) Handle INT signals by calling the specifiedRunnable
.
-
Method Details
-
attachSignalHandler
Handle INT signals by calling the specifiedRunnable
.- Parameters:
runnable
- the runnable to call on SIGINT.
-