@InterfaceAudience.Private public abstract class ShutdownHookManager extends Object
Constructor and Description |
---|
ShutdownHookManager() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addShutdownHook(Thread shutdownHook,
int priority) |
static void |
affixShutdownHook(Thread shutdownHook,
int priority) |
static boolean |
deleteShutdownHook(Runnable shutdownHook) |
abstract boolean |
removeShutdownHook(Runnable shutdownHook) |
public abstract void addShutdownHook(Thread shutdownHook, int priority)
public abstract boolean removeShutdownHook(Runnable shutdownHook)
public static void affixShutdownHook(Thread shutdownHook, int priority)
public static boolean deleteShutdownHook(Runnable shutdownHook)
Copyright © 2007–2019 Cloudera. All rights reserved.