Class ShutdownHooks
java.lang.Object
org.aesh.readline.terminal.utils.ShutdownHooks
Manages the shutdown-hook thread and tasks to execute on shutdown.
- Author:
- Jason Dillon
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceEssentially aRunnablewhich allows running to throw an exception. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ShutdownHooks.Task>
Tadd(T task) static voidremove(ShutdownHooks.Task task)
-
Constructor Details
-
ShutdownHooks
public ShutdownHooks()
-
-
Method Details
-
add
-
remove
-