Package org.springframework.boot.system
Class ApplicationPid
java.lang.Object
org.springframework.boot.system.ApplicationPid
An application process ID.
- Since:
- 2.0.0
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ApplicationPid
public ApplicationPid() -
ApplicationPid
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
write
Write 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
-