public class ShutdownUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ShutdownUtil.Hook |
Modifier and Type | Field and Description |
---|---|
static String |
SHUTDOWN_EXECUTING
System property set to true when we have entered shutdown
|
Constructor and Description |
---|
ShutdownUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addHook(ShutdownUtil.Hook hook) |
static void |
deregisterShutdownHook() |
static void |
registerShutdownHook() |
static boolean |
removeHook(ShutdownUtil.Hook hook) |
public static final String SHUTDOWN_EXECUTING
public ShutdownUtil()
public static void addHook(ShutdownUtil.Hook hook)
public static boolean removeHook(ShutdownUtil.Hook hook)
public static void registerShutdownHook()
public static void deregisterShutdownHook()
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.