Record Class IsolationProcessStatus
java.lang.Object
java.lang.Record
org.j7m.middleware.api.isolation.IsolationProcessStatus
- Record Components:
pid- process identifier when availablealive- whether the process is still aliveexitCode- exit code when known, otherwise-1
Redacted child-process status.
-
Constructor Summary
ConstructorsConstructorDescriptionIsolationProcessStatus(long pid, boolean alive, int exitCode) Creates a validated process status. -
Method Summary
Modifier and TypeMethodDescriptionbooleanalive()Returns the value of thealiverecord component.final booleanIndicates whether some other object is "equal to" this one.intexitCode()Returns the value of theexitCoderecord component.final inthashCode()Returns a hash code value for this object.longpid()Returns the value of thepidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IsolationProcessStatus
public IsolationProcessStatus(long pid, boolean alive, int exitCode) Creates a validated process status.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
pid
-
alive
-
exitCode
-