Example usage for Java org.apache.hadoop.util ExitUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
void | disableSystemExit() Disable the use of System.exit for testing. |
ExitException | getFirstExitException() |
void | halt(int status, Throwable t) Forcibly terminates the currently running Java virtual machine. |
void | halt(int status, String message) Forcibly terminates the currently running Java virtual machine. |
void | halt(HaltException ee) Forcibly terminates the currently running Java virtual machine. |
void | halt(int status) Forcibly terminates the currently running Java virtual machine. |
void | resetFirstExitException() Reset the tracking of process termination. |
void | terminate(int status, Throwable t) Like #terminate(int,String) but uses the given throwable to build the message to display or throw as an ExitException . |
void | terminate(int status, String msg) Terminate the current process. |
void | terminate(ExitException ee) Inner termination: either exit with the exception's exit code, or, if system exits are disabled, rethrow the exception. |
void | terminate(int status) Like #terminate(int,Throwable) without a message. |
boolean | terminateCalled() |