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

    Constructors 
    Constructor Description
    DeephavenShutdownManagerImpl​(com.fishlib.io.logger.Logger log)
    Construct a new DeephavenShutdownManagerImpl.
  • Method Summary

    Modifier and Type Method Description
    boolean maybeInvokeTasks()  

    Methods inherited from class com.fishlib.util.process.ShutdownManagerImpl

    addShutdownHookToRuntime, deregisterTask, logShutdown, registerTask, reset, tasksInvoked

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface com.fishlib.util.process.ShutdownManager
      Overrides:
      maybeInvokeTasks in class com.fishlib.util.process.ShutdownManagerImpl