public class PidFile
extends java.lang.Object
Constructor and Description |
---|
PidFile() |
Modifier and Type | Method and Description |
---|---|
static void |
createPidFile(java.lang.String fileName)
Writes the PID of the process into the specified file.
|
static java.lang.String |
getPid()
Returns the PID of the process.
|
public static java.lang.String getPid()
public static void createPidFile(java.lang.String fileName)
fileName
- Name of PID file to write