-
public interface Signals
Instances of Signals provide the ability to register custom signal handlers, for example to ignore SIGINT and similar in a child process. Implementations should be registered and obtained via service loader.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
register(String signal, Runnable handler)
Register a handler to execute when the VM receives the specified signal.
-