Class ShutDownHookManager

java.lang.Object
com.complexible.common.util.ShutDownHookManager

public final class ShutDownHookManager extends Object
Shutdown hook manager which unifies all logic with object's lifecycle;
      It is possible to register shutdown hook as well as finalizer which
      will be invoked after all hooks been invoked;
 
  • Constructor Details

    • ShutDownHookManager

      public ShutDownHookManager()
  • Method Details

    • register

      public static void register(String theName, Runnable theInvoker, int thePriority)