Record Class MQTTActivity.Entry
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.MQTTActivity.Entry
- All Implemented Interfaces:
Serializable
- Enclosing class:
MQTTActivity
public static record MQTTActivity.Entry(long id, long transferId, String destination, String filename, long queuedAt, long startedAt, long updatedAt, String status, String topic, int qos, boolean retain, long payloadBytes, String contentType, String reason, int attempts, List<MQTTActivity.Broker> brokers)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntry(long id, long transferId, String destination, String filename, long queuedAt, long startedAt, long updatedAt, String status, String topic, int qos, boolean retain, long payloadBytes, String contentType, String reason, int attempts, List<MQTTActivity.Broker> brokers) Creates an instance of aEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintattempts()Returns the value of theattemptsrecord component.brokers()Returns the value of thebrokersrecord component.Returns the value of thecontentTyperecord component.Returns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.filename()Returns the value of thefilenamerecord component.final inthashCode()Returns a hash code value for this object.longid()Returns the value of theidrecord component.longReturns the value of thepayloadBytesrecord component.intqos()Returns the value of theqosrecord component.longqueuedAt()Returns the value of thequeuedAtrecord component.reason()Returns the value of thereasonrecord component.booleanretain()Returns the value of theretainrecord component.longReturns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.topic()Returns the value of thetopicrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetransferIdrecord component.longReturns the value of theupdatedAtrecord component.
-
Constructor Details
-
Entry
public Entry(long id, long transferId, String destination, String filename, long queuedAt, long startedAt, long updatedAt, String status, String topic, int qos, boolean retain, long payloadBytes, String contentType, String reason, int attempts, List<MQTTActivity.Broker> brokers) Creates an instance of aEntryrecord class.- Parameters:
id- the value for theidrecord componenttransferId- the value for thetransferIdrecord componentdestination- the value for thedestinationrecord componentfilename- the value for thefilenamerecord componentqueuedAt- the value for thequeuedAtrecord componentstartedAt- the value for thestartedAtrecord componentupdatedAt- the value for theupdatedAtrecord componentstatus- the value for thestatusrecord componenttopic- the value for thetopicrecord componentqos- the value for theqosrecord componentretain- the value for theretainrecord componentpayloadBytes- the value for thepayloadBytesrecord componentcontentType- the value for thecontentTyperecord componentreason- the value for thereasonrecord componentattempts- the value for theattemptsrecord componentbrokers- the value for thebrokersrecord 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
public long id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
transferId
public long transferId()Returns the value of thetransferIdrecord component.- Returns:
- the value of the
transferIdrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
filename
Returns the value of thefilenamerecord component.- Returns:
- the value of the
filenamerecord component
-
queuedAt
public long queuedAt()Returns the value of thequeuedAtrecord component.- Returns:
- the value of the
queuedAtrecord component
-
startedAt
public long startedAt()Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-
updatedAt
public long updatedAt()Returns the value of theupdatedAtrecord component.- Returns:
- the value of the
updatedAtrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
topic
Returns the value of thetopicrecord component.- Returns:
- the value of the
topicrecord component
-
qos
public int qos()Returns the value of theqosrecord component.- Returns:
- the value of the
qosrecord component
-
retain
public boolean retain()Returns the value of theretainrecord component.- Returns:
- the value of the
retainrecord component
-
payloadBytes
public long payloadBytes()Returns the value of thepayloadBytesrecord component.- Returns:
- the value of the
payloadBytesrecord component
-
contentType
Returns the value of thecontentTyperecord component.- Returns:
- the value of the
contentTyperecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
attempts
public int attempts()Returns the value of theattemptsrecord component.- Returns:
- the value of the
attemptsrecord component
-
brokers
Returns the value of thebrokersrecord component.- Returns:
- the value of the
brokersrecord component
-