Record Class WeatherObservation.Connection
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherObservation.Connection
- All Implemented Interfaces:
Serializable
- Enclosing class:
WeatherObservation
public static record WeatherObservation.Connection(UUID connectionId, String localAddress, String remoteAddress, long startTime, long endTime, Double rttMs, Long bytesSent, Long bytesReceived, Long pacingRateBps, Long deliveryRateBps, Integer cwnd, Integer segsOut, Integer segsIn)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConnection(UUID connectionId, String localAddress, String remoteAddress, long startTime, long endTime, Double rttMs, Long bytesSent, Long bytesReceived) Connection(UUID connectionId, String localAddress, String remoteAddress, long startTime, long endTime, Double rttMs, Long bytesSent, Long bytesReceived, Long pacingRateBps, Long deliveryRateBps, Integer cwnd, Integer segsOut, Integer segsIn) Creates an instance of aConnectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebytesReceivedrecord component.Returns the value of thebytesSentrecord component.Returns the value of theconnectionIdrecord component.cwnd()Returns the value of thecwndrecord component.Returns the value of thedeliveryRateBpsrecord component.longendTime()Returns the value of theendTimerecord 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 thelocalAddressrecord component.Returns the value of thepacingRateBpsrecord component.Returns the value of theremoteAddressrecord component.rttMs()Returns the value of therttMsrecord component.segsIn()Returns the value of thesegsInrecord component.segsOut()Returns the value of thesegsOutrecord component.longReturns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Connection
-
Connection
public Connection(UUID connectionId, String localAddress, String remoteAddress, long startTime, long endTime, Double rttMs, Long bytesSent, Long bytesReceived, Long pacingRateBps, Long deliveryRateBps, Integer cwnd, Integer segsOut, Integer segsIn) Creates an instance of aConnectionrecord class.- Parameters:
connectionId- the value for theconnectionIdrecord componentlocalAddress- the value for thelocalAddressrecord componentremoteAddress- the value for theremoteAddressrecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord componentrttMs- the value for therttMsrecord componentbytesSent- the value for thebytesSentrecord componentbytesReceived- the value for thebytesReceivedrecord componentpacingRateBps- the value for thepacingRateBpsrecord componentdeliveryRateBps- the value for thedeliveryRateBpsrecord componentcwnd- the value for thecwndrecord componentsegsOut- the value for thesegsOutrecord componentsegsIn- the value for thesegsInrecord 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. -
connectionId
Returns the value of theconnectionIdrecord component.- Returns:
- the value of the
connectionIdrecord component
-
localAddress
Returns the value of thelocalAddressrecord component.- Returns:
- the value of the
localAddressrecord component
-
remoteAddress
Returns the value of theremoteAddressrecord component.- Returns:
- the value of the
remoteAddressrecord component
-
startTime
public long startTime()Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
public long endTime()Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
rttMs
Returns the value of therttMsrecord component.- Returns:
- the value of the
rttMsrecord component
-
bytesSent
Returns the value of thebytesSentrecord component.- Returns:
- the value of the
bytesSentrecord component
-
bytesReceived
Returns the value of thebytesReceivedrecord component.- Returns:
- the value of the
bytesReceivedrecord component
-
pacingRateBps
Returns the value of thepacingRateBpsrecord component.- Returns:
- the value of the
pacingRateBpsrecord component
-
deliveryRateBps
Returns the value of thedeliveryRateBpsrecord component.- Returns:
- the value of the
deliveryRateBpsrecord component
-
cwnd
Returns the value of thecwndrecord component.- Returns:
- the value of the
cwndrecord component
-
segsOut
Returns the value of thesegsOutrecord component.- Returns:
- the value of the
segsOutrecord component
-
segsIn
Returns the value of thesegsInrecord component.- Returns:
- the value of the
segsInrecord component
-