public class ShutdownHooks
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | ShutdownHooks.TaskEssentially a  Runnablewhich allows running to throw an exception. | 
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | JLINE_SHUTDOWNHOOK | 
| Constructor and Description | 
|---|
| ShutdownHooks() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T extends ShutdownHooks.Task> | add(T task) | 
| static void | remove(ShutdownHooks.Task task) | 
public static final java.lang.String JLINE_SHUTDOWNHOOK
public static <T extends ShutdownHooks.Task> T add(T task)
public static void remove(ShutdownHooks.Task task)
Copyright © 2018. All Rights Reserved.