Record Class TransientPendingSubscriptionState.PendingSubscription
java.lang.Object
java.lang.Record
io.camunda.zeebe.engine.state.message.TransientPendingSubscriptionState.PendingSubscription
- Enclosing class:
TransientPendingSubscriptionState
-
Constructor Summary
ConstructorsConstructorDescriptionPendingSubscription(long elementInstanceKey, String messageName, String tenantId) Creates an instance of aPendingSubscriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theelementInstanceKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themessageNamerecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PendingSubscription
Creates an instance of aPendingSubscriptionrecord class.- Parameters:
elementInstanceKey- the value for theelementInstanceKeyrecord componentmessageName- the value for themessageNamerecord 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 '=='. -
elementInstanceKey
public long elementInstanceKey()Returns the value of theelementInstanceKeyrecord component.- Returns:
- the value of the
elementInstanceKeyrecord component
-
messageName
Returns the value of themessageNamerecord component.- Returns:
- the value of the
messageNamerecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-