Package io.deephaven.util.process
Class DeephavenShutdownManagerImpl
java.lang.Object
com.fishlib.util.process.ShutdownManagerImpl
io.deephaven.util.process.DeephavenShutdownManagerImpl
- All Implemented Interfaces:
com.fishlib.util.process.ShutdownManager
public class DeephavenShutdownManagerImpl
extends com.fishlib.util.process.ShutdownManagerImpl
Extends
ShutdownManagerImpl
to override the behavior of the thread that ensures shutdown finishes.
This will pre-create the thread, because in some shutdown conditions the thread can't be created.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fishlib.util.process.ShutdownManager
com.fishlib.util.process.ShutdownManager.OrderingCategory, com.fishlib.util.process.ShutdownManager.Task
-
Constructor Summary
ConstructorsConstructorDescriptionDeephavenShutdownManagerImpl
(com.fishlib.io.logger.Logger log) Construct a new DeephavenShutdownManagerImpl. -
Method Summary
Methods inherited from class com.fishlib.util.process.ShutdownManagerImpl
addShutdownHookToRuntime, deregisterTask, logShutdown, registerTask, reset, tasksInvoked
-
Constructor Details
-
DeephavenShutdownManagerImpl
public DeephavenShutdownManagerImpl(@NotNull com.fishlib.io.logger.Logger log) Construct a new DeephavenShutdownManagerImpl.- Parameters:
log
- the Logger to use
-
-
Method Details
-
maybeInvokeTasks
public boolean maybeInvokeTasks()- Specified by:
maybeInvokeTasks
in interfacecom.fishlib.util.process.ShutdownManager
- Overrides:
maybeInvokeTasks
in classcom.fishlib.util.process.ShutdownManagerImpl
-