Record Class SendMessageData
java.lang.Object
java.lang.Record
org.apache.catalina.ha.tcp.SendMessageData
- Record Components:
- message- The message that was sent
- destination- The destination of the message
- exception- The exception, if any, when attempting to send the message
- 
Constructor SummaryConstructorsConstructorDescriptionSendMessageData(Object message, Member destination, Exception exception) Creates an instance of aSendMessageDatarecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexceptionrecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
SendMessageDataCreates an instance of aSendMessageDatarecord class.- Parameters:
- message- the value for the- messagerecord component
- destination- the value for the- destinationrecord component
- exception- the value for the- exceptionrecord component
 
 
- 
- 
Method Details- 
getDestination- Returns:
- the destination.
 
- 
getException- Returns:
- the exception.
 
- 
getMessage- Returns:
- the message.
 
- 
toString
- 
hashCode
- 
equalsIndicates 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).
- 
message
- 
destinationReturns the value of thedestinationrecord component.- Returns:
- the value of the destinationrecord component
 
- 
exception
 
-