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