| Modifier and Type | Class and Description |
|---|---|
| public static interface | ShutdownHooks.
Essentially a |
| Modifier and Type | Field and Description |
|---|---|
| private static Thread | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized <T extends ShutdownHooks. | |
| private static Thread | |
| public static synchronized void | |
| private static void | |
| private static synchronized void |
| hook | back to summary |
|---|---|
| private static Thread hook | |
| tasks | back to summary |
|---|---|
| private static final List<ShutdownHooks. | |
| ShutdownHooks | back to summary |
|---|---|
| public ShutdownHooks() | |
| add | back to summary |
|---|---|
| public static synchronized <T extends ShutdownHooks. | |
| addHook | back to summary |
|---|---|
| private static Thread addHook(final Thread thread) | |
| remove | back to summary |
|---|---|
| public static synchronized void remove(final ShutdownHooks. | |
| removeHook | back to summary |
|---|---|
| private static void removeHook(final Thread thread) | |
| runTasks | back to summary |
|---|---|
| private static synchronized void runTasks() | |
Runnable which allows running to throw an exception.
| Modifier and Type | Method and Description |
|---|---|
| public void |
| run | back to summary |
|---|---|
| public void run() throws Exception | |