@InterfaceAudience.Private public class RMCriticalThreadUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
ResourceManager
or transitions the
ResourceManager
to standby state if a critical thread throws an
uncaught exception. It is intended to be installed by calling
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler)
in the thread entry point or after creation of threads.Constructor and Description |
---|
RMCriticalThreadUncaughtExceptionHandler(RMContext rmContext) |
public RMCriticalThreadUncaughtExceptionHandler(RMContext rmContext)
public void uncaughtException(Thread t, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.