Will register itself in a Runtime#addShutdownHook(Thread)
to cleanup the PID file it created during normal JVM shutdown.
| Modifier and Type | Field and Description |
|---|---|
| private static final Set | |
| private static final Logger | |
| private final Path |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| activeFiles | back to summary |
|---|---|
| private static final Set<Path> activeFiles | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| pidFile | back to summary |
|---|---|
| private final Path pidFile | |
| PidFile | back to summary |
|---|---|
| private PidFile(Path pidFile) | |
| create | back to summary |
|---|---|
| public static void create(String filename) throws IOException | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |