org.sonar.process
Class SystemExit
java.lang.Object
org.sonar.process.SystemExit
public class SystemExit
- extends Object
Calls System.exit(int)
except from shutdown hooks, to prevent
deadlocks. See http://stackoverflow.com/a/19552359/229031
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemExit
public SystemExit()
exit
public void exit(int code)
isInShutdownHook
public boolean isInShutdownHook()
setInShutdownHook
public void setInShutdownHook()
- Declarative approach. I don't know how to get this lifecycle state from Java API.
Copyright © 2009–2015 SonarSource. All rights reserved.