What exactly does this class do?
What is shutdown shutdown?
Where did you use this in your program or what could be a good option for this class?
Taking your points one at a time:
What does this class do? It processes termination signals received from the operating system.
What is a shutdown with shutdown? JVM shutdown caused by the operating system sending a signal to the Java process, for example. when you turn off the computer.
? , JVM , .
, . http://java.sun.com/j2se/1.4.2/docs/guide/lang/hook-design.html, .
HUP (Hangup), INT () TERM (Termination) (. ). , System.exit() sig.getNumber() + 128, 1 + 128 = 129 (HUP), 2 + 128 = 130 (INT), 15 + 128 = 143 (TERM). , , , . , KILL .
, , .
Source: https://habr.com/ru/post/1748003/More articles:C # WebClient - View source question - c #CruiseControl.NET Build Tag Problem - .netEnable Grizzly to make a simple JaaS HTTP request - javaCombining EditText and Button? - androidHow can I bind WPF TreeView data to lazy and asynchronous? - asynchronousJms message not moving from queue in websphere - javaerror during build using builder builder sandcastle with Visual Studio 2010 .NET 4.0 project - visual-studio-2010SVN tortoise tree conflicts with itself - svnHow to draw a map from images? - c #UINavigationController changes the position of the pressed view. UIViewController - viewsAll Articles