How to gracefully handle the SIGKILL signal in Java
Posted
by Begui
on Stack Overflow
See other posts from Stack Overflow
or by Begui
Published on 2010-03-29T22:06:22Z
Indexed on
2010/03/29
23:23 UTC
Read the original article
Hit count: 161
How do you handle clean up when the program receives a kill signal?
For instance, there is an application I connect to that wants any third party app (my app) to send a finish
command. What is the best say to send that finish
command when my app has been destroyed with a kill -9
?
© Stack Overflow or respective owner