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
ConstructorsConstructorDescriptionPath(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 aPathrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecancellationsrecord component.final booleanIndicates whether some other object is "equal to" this one.longfailures()Returns the value of thefailuresrecord component.final inthashCode()Returns a hash code value for this object.hostId()Returns the value of thehostIdrecord component.longReturns the value of thelastObservedrecord component.latitude()Returns the value of thelatituderecord component.leg()Returns the value of thelegrecord component.Returns the value of thelongituderecord component.longprobedAt()Returns the value of theprobedAtrecord component.Returns the value of theprobeLatencyMsrecord component.Returns the value of theprobeModerecord component.Returns the value of theprobeOutcomerecord component.protocol()Returns the value of theprotocolrecord component.rttMs()Returns the value of therttMsrecord component.longsockets()Returns the value of thesocketsrecord component.source()Returns the value of thesourcerecord component.longReturns the value of thesuccessesrecord component.final StringtoString()Returns a string representation of this record class.longunknown()Returns the value of theunknownrecord component.
-
Constructor Details
-
Path
-
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 aPathrecord class.- Parameters:
source- the value for thesourcerecord componenthostId- the value for thehostIdrecord componentprotocol- the value for theprotocolrecord componentsuccesses- the value for thesuccessesrecord componentfailures- the value for thefailuresrecord componentcancellations- the value for thecancellationsrecord componentunknown- the value for theunknownrecord componentsockets- the value for thesocketsrecord componentlastObserved- the value for thelastObservedrecord componentrttMs- the value for therttMsrecord componentlatitude- the value for thelatituderecord componentlongitude- the value for thelongituderecord componentprobeMode- the value for theprobeModerecord componentprobeOutcome- the value for theprobeOutcomerecord componentprobedAt- the value for theprobedAtrecord componentprobeLatencyMs- the value for theprobeLatencyMsrecord componentleg- the value for thelegrecord 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. -
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
hostId
Returns the value of thehostIdrecord component.- Returns:
- the value of the
hostIdrecord component
-
protocol
Returns the value of theprotocolrecord component.- Returns:
- the value of the
protocolrecord component
-
successes
public long successes()Returns the value of thesuccessesrecord component.- Returns:
- the value of the
successesrecord component
-
failures
public long failures()Returns the value of thefailuresrecord component.- Returns:
- the value of the
failuresrecord component
-
cancellations
public long cancellations()Returns the value of thecancellationsrecord component.- Returns:
- the value of the
cancellationsrecord component
-
unknown
public long unknown()Returns the value of theunknownrecord component.- Returns:
- the value of the
unknownrecord component
-
sockets
public long sockets()Returns the value of thesocketsrecord component.- Returns:
- the value of the
socketsrecord component
-
lastObserved
public long lastObserved()Returns the value of thelastObservedrecord component.- Returns:
- the value of the
lastObservedrecord component
-
rttMs
Returns the value of therttMsrecord component.- Returns:
- the value of the
rttMsrecord component
-
latitude
Returns the value of thelatituderecord component.- Returns:
- the value of the
latituderecord component
-
longitude
Returns the value of thelongituderecord component.- Returns:
- the value of the
longituderecord component
-
probeMode
Returns the value of theprobeModerecord component.- Returns:
- the value of the
probeModerecord component
-
probeOutcome
Returns the value of theprobeOutcomerecord component.- Returns:
- the value of the
probeOutcomerecord component
-
probedAt
public long probedAt()Returns the value of theprobedAtrecord component.- Returns:
- the value of the
probedAtrecord component
-
probeLatencyMs
Returns the value of theprobeLatencyMsrecord component.- Returns:
- the value of the
probeLatencyMsrecord component
-
leg
Returns the value of thelegrecord component.- Returns:
- the value of the
legrecord component
-