Record Class TransientPendingSubscriptionState.PendingSubscription
java.lang.Object
java.lang.Record
io.camunda.zeebe.engine.state.message.TransientPendingSubscriptionState.PendingSubscription
- Enclosing class:
TransientPendingSubscriptionState
-
Constructor Summary
ConstructorDescriptionPendingSubscription
(long elementInstanceKey, String messageName, String tenantId) Creates an instance of aPendingSubscription
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the value of theelementInstanceKey
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of themessageName
record component.tenantId()
Returns the value of thetenantId
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
PendingSubscription
Creates an instance of aPendingSubscription
record class.- Parameters:
elementInstanceKey
- the value for theelementInstanceKey
record componentmessageName
- the value for themessageName
record componenttenantId
- the value for thetenantId
record 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 theelementInstanceKey
record component.- Returns:
- the value of the
elementInstanceKey
record component
-
messageName
Returns the value of themessageName
record component.- Returns:
- the value of the
messageName
record component
-
tenantId
Returns the value of thetenantId
record component.- Returns:
- the value of the
tenantId
record component
-