Package org.springframework.boot.system
Class ApplicationPid
java.lang.Object
org.springframework.boot.system.ApplicationPid
An application process ID.
- Since:
- 2.0.0
- Author:
- Phillip Webb
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ApplicationPidpublic ApplicationPid()
- 
ApplicationPid
 
- 
- 
Method Details- 
equals
- 
hashCodepublic int hashCode()
- 
toString
- 
writeWrite the PID to the specified file.- Parameters:
- file- the PID file
- Throws:
- IllegalStateException- if no PID is available.
- IOException- if the file cannot be written
 
 
-