| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static long | Returns: the ID of this process, or -1 if it cannot be determinedGet the ID of this process. |
| public static String |
| processId | back to summary |
|---|---|
| private static final long processId | |
| processName | back to summary |
|---|---|
| private static final String processName | |
| Process | back to summary |
|---|---|
| private Process() | |
| getProcessId | back to summary |
|---|---|
| public static long getProcessId() Get the ID of this process. This is the operating system specific PID. If the PID cannot be determined, -1 is returned.
| |
| getProcessName | back to summary |
|---|---|
| public static String getProcessName() Get the name of this process. If the process name is not known, then "<unknown>" is returned.
| |