- All Implemented Interfaces:
Process
Obtains a unique value to represent the process id via the filesystem.
- Since:
- JTS 1.0.
- Version:
- $Id: FileProcessId.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
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
-
FileProcessId
public FileProcessId()
-
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!
- Since:
- JTS 2.1.