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