private static class ShutdownHookManager.ShutdownHookManagerV1 extends ShutdownHookManager
shutdownHookManagerClass
Modifier | Constructor and Description |
---|---|
private |
ShutdownHookManager.ShutdownHookManagerV1() |
Modifier and Type | Method and Description |
---|---|
void |
addShutdownHook(Thread shutdownHookThread,
int priority) |
boolean |
removeShutdownHook(Runnable shutdownHook) |
affixShutdownHook, deleteShutdownHook
private ShutdownHookManager.ShutdownHookManagerV1()
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.