Class ApplicationPid
java.lang.Object
org.springframework.boot.system.ApplicationPid
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ApplicationPidpublic ApplicationPid()
- 
ApplicationPid
 
- 
- 
Method Details- 
isAvailablepublic boolean isAvailable()Return if the application PID is available.- Returns:
- trueif the PID is available
- Since:
- 3.4.0
 
- 
toLong
- 
equals
- 
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
 
 
-