Record Class WeatherOutbox.Status
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherOutbox.Status
- All Implemented Interfaces:
Serializable
- Enclosing class:
WeatherOutbox
public static record WeatherOutbox.Status(int pending, int reservedBytes, long dropped, long expired)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStatus(int pending, int reservedBytes, long dropped, long expired) Creates an instance of aStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongdropped()Returns the value of thedroppedrecord component.final booleanIndicates whether some other object is "equal to" this one.longexpired()Returns the value of theexpiredrecord component.final inthashCode()Returns a hash code value for this object.intpending()Returns the value of thependingrecord component.intReturns the value of thereservedBytesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Status
public Status(int pending, int reservedBytes, long dropped, long expired) Creates an instance of aStatusrecord class.- Parameters:
pending- the value for thependingrecord componentreservedBytes- the value for thereservedBytesrecord componentdropped- the value for thedroppedrecord componentexpired- the value for theexpiredrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
pending
public int pending()Returns the value of thependingrecord component.- Returns:
- the value of the
pendingrecord component
-
reservedBytes
public int reservedBytes()Returns the value of thereservedBytesrecord component.- Returns:
- the value of the
reservedBytesrecord component
-
dropped
public long dropped()Returns the value of thedroppedrecord component.- Returns:
- the value of the
droppedrecord component
-
expired
public long expired()Returns the value of theexpiredrecord component.- Returns:
- the value of the
expiredrecord component
-