|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.util.ShutdownUtil
public class ShutdownUtil
ShutdownUtil is a private helper class for registering dependent shutdown hooks to maintain internal state information reliably when a jvm is shutting down.
This api is not intended for public use.
Nested Class Summary | |
---|---|
static class |
ShutdownUtil.Hook
|
Constructor Summary | |
---|---|
ShutdownUtil()
|
Method Summary | |
---|---|
static void |
addHook(ShutdownUtil.Hook hook)
|
static void |
deregisterShutdownHook()
|
static void |
registerShutdownHook()
|
static boolean |
removeHook(ShutdownUtil.Hook hook)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShutdownUtil()
Method Detail |
---|
public static void addHook(ShutdownUtil.Hook hook)
public static boolean removeHook(ShutdownUtil.Hook hook)
public static void registerShutdownHook()
public static void deregisterShutdownHook()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |