Record Class AhpHostExit
java.lang.Object
java.lang.Record
com.github.copilot.AhpHostExit
- Record Components:
hostId- listener identityreason- termination reasonexitCode- legacy child process status, absent for in-process hostingerror- startup or cleanup failure, ornullon acknowledged success
@CopilotExperimental
public record AhpHostExit(String hostId, HostExitReason reason, Long exitCode, String error)
extends Record
A connection-owned listener's termination and cleanup outcome.
-
Constructor Summary
ConstructorsConstructorDescriptionAhpHostExit(String hostId, HostExitReason reason, Long exitCode, String error) Creates an instance of aAhpHostExitrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.exitCode()Returns the value of theexitCoderecord component.final inthashCode()Returns a hash code value for this object.hostId()Returns the value of thehostIdrecord component.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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 withObjects::equals(Object,Object). -
hostId
-
reason
-
exitCode
-
error
-