Record Class WeatherViewer.Path

java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherViewer.Path
All Implemented Interfaces:
Serializable
Enclosing class:
WeatherViewer

public static record WeatherViewer.Path(String source, String hostId, String protocol, long successes, long failures, long cancellations, long unknown, long sockets, long lastObserved, Double rttMs, Double latitude, Double longitude, String probeMode, String probeOutcome, long probedAt, Double probeLatencyMs, String leg) extends Record implements Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Path(String source, String hostId, String protocol, long successes, long failures, long cancellations, long unknown, long sockets, long lastObserved, Double rttMs, Double latitude, Double longitude, String leg)
     
    Path(String source, String hostId, String protocol, long successes, long failures, long cancellations, long unknown, long sockets, long lastObserved, Double rttMs, Double latitude, Double longitude, String probeMode, String probeOutcome, long probedAt, Double probeLatencyMs, String leg)
    Creates an instance of a Path record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the cancellations record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    long
    Returns the value of the failures record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the hostId record component.
    long
    Returns the value of the lastObserved record component.
    Returns the value of the latitude record component.
    leg()
    Returns the value of the leg record component.
    Returns the value of the longitude record component.
    long
    Returns the value of the probedAt record component.
    Returns the value of the probeLatencyMs record component.
    Returns the value of the probeMode record component.
    Returns the value of the probeOutcome record component.
    Returns the value of the protocol record component.
    Returns the value of the rttMs record component.
    long
    Returns the value of the sockets record component.
    Returns the value of the source record component.
    long
    Returns the value of the successes record component.
    final String
    Returns a string representation of this record class.
    long
    Returns the value of the unknown record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Path

      public Path(String source, String hostId, String protocol, long successes, long failures, long cancellations, long unknown, long sockets, long lastObserved, Double rttMs, Double latitude, Double longitude, String leg)
    • Path

      public Path(String source, String hostId, String protocol, long successes, long failures, long cancellations, long unknown, long sockets, long lastObserved, Double rttMs, Double latitude, Double longitude, String probeMode, String probeOutcome, long probedAt, Double probeLatencyMs, String leg)
      Creates an instance of a Path record class.
      Parameters:
      source - the value for the source record component
      hostId - the value for the hostId record component
      protocol - the value for the protocol record component
      successes - the value for the successes record component
      failures - the value for the failures record component
      cancellations - the value for the cancellations record component
      unknown - the value for the unknown record component
      sockets - the value for the sockets record component
      lastObserved - the value for the lastObserved record component
      rttMs - the value for the rttMs record component
      latitude - the value for the latitude record component
      longitude - the value for the longitude record component
      probeMode - the value for the probeMode record component
      probeOutcome - the value for the probeOutcome record component
      probedAt - the value for the probedAt record component
      probeLatencyMs - the value for the probeLatencyMs record component
      leg - the value for the leg 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.
    • source

      public String source()
      Returns the value of the source record component.
      Returns:
      the value of the source record component
    • hostId

      public String hostId()
      Returns the value of the hostId record component.
      Returns:
      the value of the hostId record component
    • protocol

      public String protocol()
      Returns the value of the protocol record component.
      Returns:
      the value of the protocol record component
    • successes

      public long successes()
      Returns the value of the successes record component.
      Returns:
      the value of the successes record component
    • failures

      public long failures()
      Returns the value of the failures record component.
      Returns:
      the value of the failures record component
    • cancellations

      public long cancellations()
      Returns the value of the cancellations record component.
      Returns:
      the value of the cancellations record component
    • unknown

      public long unknown()
      Returns the value of the unknown record component.
      Returns:
      the value of the unknown record component
    • sockets

      public long sockets()
      Returns the value of the sockets record component.
      Returns:
      the value of the sockets record component
    • lastObserved

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

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

      public Double latitude()
      Returns the value of the latitude record component.
      Returns:
      the value of the latitude record component
    • longitude

      public Double longitude()
      Returns the value of the longitude record component.
      Returns:
      the value of the longitude record component
    • probeMode

      public String probeMode()
      Returns the value of the probeMode record component.
      Returns:
      the value of the probeMode record component
    • probeOutcome

      public String probeOutcome()
      Returns the value of the probeOutcome record component.
      Returns:
      the value of the probeOutcome record component
    • probedAt

      public long probedAt()
      Returns the value of the probedAt record component.
      Returns:
      the value of the probedAt record component
    • probeLatencyMs

      public Double probeLatencyMs()
      Returns the value of the probeLatencyMs record component.
      Returns:
      the value of the probeLatencyMs record component
    • leg

      public String leg()
      Returns the value of the leg record component.
      Returns:
      the value of the leg record component