Java org.apache.hadoop.util ExitUtil fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.util ExitUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.util ExitUtil.

The text is from its open source code.

Method

voiddisableSystemExit()
Disable the use of System.exit for testing.
ExitExceptiongetFirstExitException()
voidhalt(int status, Throwable t)
Forcibly terminates the currently running Java virtual machine.
voidhalt(int status, String message)
Forcibly terminates the currently running Java virtual machine.
voidhalt(HaltException ee)
Forcibly terminates the currently running Java virtual machine.
voidhalt(int status)
Forcibly terminates the currently running Java virtual machine.
voidresetFirstExitException()
Reset the tracking of process termination.
voidterminate(int status, Throwable t)
Like #terminate(int,String) but uses the given throwable to build the message to display or throw as an ExitException .
voidterminate(int status, String msg)
Terminate the current process.
voidterminate(ExitException ee)
Inner termination: either exit with the exception's exit code, or, if system exits are disabled, rethrow the exception.
voidterminate(int status)
Like #terminate(int,Throwable) without a message.
booleanterminateCalled()