Record Class NotificationOutboxStore.Delivery
java.lang.Object
java.lang.Record
ecmwf.common.database.NotificationOutboxStore.Delivery
- Enclosing class:
NotificationOutboxStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintattempts()Returns the value of theattemptsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.mover()Returns the value of themoverrecord component.payload()Returns the value of thepayloadrecord component.token()Returns the value of thetokenrecord component.topic()Returns the value of thetopicrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Delivery
Creates an instance of aDeliveryrecord class.- Parameters:
id- the value for theidrecord componenttopic- the value for thetopicrecord componentpayload- the value for thepayloadrecord componentmover- the value for themoverrecord componenttoken- the value for thetokenrecord componentattempts- the value for theattemptsrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
topic
Returns the value of thetopicrecord component.- Returns:
- the value of the
topicrecord component
-
payload
Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-
mover
Returns the value of themoverrecord component.- Returns:
- the value of the
moverrecord component
-
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
attempts
public int attempts()Returns the value of theattemptsrecord component.- Returns:
- the value of the
attemptsrecord component
-