Record Class MessageCorrelateBehavior.MessageData
java.lang.Object
java.lang.Record
io.camunda.zeebe.engine.processing.message.MessageCorrelateBehavior.MessageData
- Enclosing class:
MessageCorrelateBehavior
-
Constructor Summary
ConstructorsConstructorDescriptionMessageData(long messageKey, org.agrona.DirectBuffer messageName, org.agrona.DirectBuffer correlationKey, org.agrona.DirectBuffer variables, String tenantId) Creates an instance of aMessageDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.agrona.DirectBufferReturns the value of thecorrelationKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of themessageKeyrecord component.org.agrona.DirectBufferReturns the value of themessageNamerecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.org.agrona.DirectBufferReturns the value of thevariablesrecord component.
-
Constructor Details
-
MessageData
public MessageData(long messageKey, org.agrona.DirectBuffer messageName, org.agrona.DirectBuffer correlationKey, org.agrona.DirectBuffer variables, String tenantId) Creates an instance of aMessageDatarecord class.- Parameters:
messageKey- the value for themessageKeyrecord componentmessageName- the value for themessageNamerecord componentcorrelationKey- the value for thecorrelationKeyrecord componentvariables- the value for thevariablesrecord componenttenantId- the value for thetenantIdrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
messageKey
public long messageKey()Returns the value of themessageKeyrecord component.- Returns:
- the value of the
messageKeyrecord component
-
messageName
public org.agrona.DirectBuffer messageName()Returns the value of themessageNamerecord component.- Returns:
- the value of the
messageNamerecord component
-
correlationKey
public org.agrona.DirectBuffer correlationKey()Returns the value of thecorrelationKeyrecord component.- Returns:
- the value of the
correlationKeyrecord component
-
variables
public org.agrona.DirectBuffer variables()Returns the value of thevariablesrecord component.- Returns:
- the value of the
variablesrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-