Package org.apache.hadoop.hbase.util
Class ShutdownHookManager
java.lang.Object
org.apache.hadoop.hbase.util.ShutdownHookManager
- Direct Known Subclasses:
ShutdownHookManager.ShutdownHookManagerV1
,ShutdownHookManager.ShutdownHookManagerV2
This class provides ShutdownHookManager shims for HBase to interact with the Hadoop 1.0.x and the
Hadoop 2.0+ series. NOTE: No testing done against 0.22.x, or 0.21.x.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static ShutdownHookManager
(package private) static Class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
addShutdownHook
(Thread shutdownHook, int priority) static void
affixShutdownHook
(Thread shutdownHook, int priority) static boolean
deleteShutdownHook
(Runnable shutdownHook) abstract boolean
removeShutdownHook
(Runnable shutdownHook)
-
Field Details
-
instance
-
shutdownHookManagerClass
-
-
Constructor Details
-
ShutdownHookManager
public ShutdownHookManager()
-
-
Method Details
-
addShutdownHook
-
removeShutdownHook
-
affixShutdownHook
-
deleteShutdownHook
-