- All Implemented Interfaces:
Process
Obtains a unique value to represent the process id via UUID.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
UuidProcessId
public UuidProcessId()
-
Method Details
-
getpid
public int getpid()
- Specified by:
getpid
in interface Process
- Returns:
- the process id. This had better be unique between processes on
the same machine. If not we're in trouble!