Package com.complexible.common.util
Class ShutDownHookManager
- java.lang.Object
-
- com.complexible.common.util.ShutDownHookManager
-
public final class ShutDownHookManager extends java.lang.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 Summary
Constructors Constructor Description ShutDownHookManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
register(java.lang.String theName, java.lang.Runnable theInvoker, int thePriority)
-