public class ProcessTerminator extends Object
Constructor and Description |
---|
ProcessTerminator() |
Modifier and Type | Method and Description |
---|---|
void |
logAndDie(String message)
Logs and dies without taking a thread dump
|
void |
logAndDie(String message,
boolean dumpThreads)
Logs and dies
|
public void logAndDie(String message)
public void logAndDie(String message, boolean dumpThreads)
dumpThreads
- if true the stack trace of all threads is dumped to the
log with level info before shutting downCopyright © 2017. All rights reserved.