Record Class CaptureControlFiles.ControlDescriptor
java.lang.Object
java.lang.Record
com.shaft.capture.control.CaptureControlFiles.ControlDescriptor
- Record Components:
port- loopback TCP portprocessId- owning process ID
- Enclosing class:
CaptureControlFiles
Safe loopback endpoint metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionControlDescriptor(int port, long processId) Creates validated endpoint metadata. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intport()Returns the value of theportrecord component.longReturns the value of theprocessIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ControlDescriptor
public ControlDescriptor(int port, long processId) Creates validated endpoint metadata.
-
-
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. -
port
-
processId
-