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 Details

    • Connection

      public Connection(UUID connectionId, String localAddress, String remoteAddress, long startTime, long endTime, Double rttMs, Long bytesSent, Long bytesReceived)
    • 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 a Connection record class.
      Parameters:
      connectionId - the value for the connectionId record component
      localAddress - the value for the localAddress record component
      remoteAddress - the value for the remoteAddress record component
      startTime - the value for the startTime record component
      endTime - the value for the endTime record component
      rttMs - the value for the rttMs record component
      bytesSent - the value for the bytesSent record component
      bytesReceived - the value for the bytesReceived record component
      pacingRateBps - the value for the pacingRateBps record component
      deliveryRateBps - the value for the deliveryRateBps record component
      cwnd - the value for the cwnd record component
      segsOut - the value for the segsOut record component
      segsIn - the value for the segsIn record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • connectionId

      public UUID connectionId()
      Returns the value of the connectionId record component.
      Returns:
      the value of the connectionId record component
    • localAddress

      public String localAddress()
      Returns the value of the localAddress record component.
      Returns:
      the value of the localAddress record component
    • remoteAddress

      public String remoteAddress()
      Returns the value of the remoteAddress record component.
      Returns:
      the value of the remoteAddress record component
    • startTime

      public long startTime()
      Returns the value of the startTime record component.
      Returns:
      the value of the startTime record component
    • endTime

      public long endTime()
      Returns the value of the endTime record component.
      Returns:
      the value of the endTime record component
    • rttMs

      public Double rttMs()
      Returns the value of the rttMs record component.
      Returns:
      the value of the rttMs record component
    • bytesSent

      public Long bytesSent()
      Returns the value of the bytesSent record component.
      Returns:
      the value of the bytesSent record component
    • bytesReceived

      public Long bytesReceived()
      Returns the value of the bytesReceived record component.
      Returns:
      the value of the bytesReceived record component
    • pacingRateBps

      public Long pacingRateBps()
      Returns the value of the pacingRateBps record component.
      Returns:
      the value of the pacingRateBps record component
    • deliveryRateBps

      public Long deliveryRateBps()
      Returns the value of the deliveryRateBps record component.
      Returns:
      the value of the deliveryRateBps record component
    • cwnd

      public Integer cwnd()
      Returns the value of the cwnd record component.
      Returns:
      the value of the cwnd record component
    • segsOut

      public Integer segsOut()
      Returns the value of the segsOut record component.
      Returns:
      the value of the segsOut record component
    • segsIn

      public Integer segsIn()
      Returns the value of the segsIn record component.
      Returns:
      the value of the segsIn record component