Package io.deephaven.util.process
Class OnetimeShutdownTask
java.lang.Object
io.deephaven.util.process.OnetimeShutdownTask
- All Implemented Interfaces:
ShutdownManager.Task
- Direct Known Subclasses:
LoggerShutdownTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OnetimeShutdownTask
final void
final void
awaitShutdown
(long waitMillis, Runnable task) final void
invoke()
Invoke this task for shutdown processing.final boolean
protected abstract void
shutdown()
-
Constructor Details
-
OnetimeShutdownTask
public OnetimeShutdownTask()
-
-
Method Details
-
isShutdown
public final boolean isShutdown() -
invoke
public final void invoke()Description copied from interface:ShutdownManager.Task
Invoke this task for shutdown processing.- Specified by:
invoke
in interfaceShutdownManager.Task
-
awaitShutdown
public final void awaitShutdown() -
awaitShutdown
-
shutdown
protected abstract void shutdown() -
adapt
-