public class Shutdown extends java.lang.Object implements ModuleShutdownable
| Modifier and Type | Field and Description |
|---|---|
static java.util.concurrent.CountDownLatch |
shutdownLatch
A count down latch to denote when the server(s) have shut down.
|
| Constructor and Description |
|---|
Shutdown() |
| Modifier and Type | Method and Description |
|---|---|
void |
shutdownModule()
Perform any module-specific cleanup.
|
static void |
waitForShutdown(java.lang.String[] args)
Block until the servers have shutdown.
|
public static final java.util.concurrent.CountDownLatch shutdownLatch
public Shutdown()
public void shutdownModule()
shutdownModule in interface ModuleShutdownablepublic static void waitForShutdown(java.lang.String[] args)
args - The command line arguments (if any). These are present
since this method is called from org.kepler.Kepler via reflection
for -wvdaemon.