private static class ShutdownHookManager.ShutdownHookManagerV2 extends ShutdownHookManager
shutdownHookManagerClass
Modifier | Constructor and Description |
---|---|
private |
ShutdownHookManager.ShutdownHookManagerV2() |
Modifier and Type | Method and Description |
---|---|
void |
addShutdownHook(Thread shutdownHookThread,
int priority) |
boolean |
removeShutdownHook(Runnable shutdownHook) |
affixShutdownHook, deleteShutdownHook
private ShutdownHookManager.ShutdownHookManagerV2()
public void addShutdownHook(Thread shutdownHookThread, int priority)
addShutdownHook
in class ShutdownHookManager
public boolean removeShutdownHook(Runnable shutdownHook)
removeShutdownHook
in class ShutdownHookManager
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.