Record Class WeatherDiscoveryStore.Progress
java.lang.Object
java.lang.Record
ecmwf.common.database.WeatherDiscoveryStore.Progress
- All Implemented Interfaces:
Serializable
- Enclosing class:
WeatherDiscoveryStore
public static record WeatherDiscoveryStore.Progress(long uploadTime, long uploadId, String destination, String retrievalHost)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestinationrecord component.empty()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 theretrievalHostrecord component.final StringtoString()Returns a string representation of this record class.longuploadId()Returns the value of theuploadIdrecord component.longReturns the value of theuploadTimerecord component.
-
Constructor Details
-
Progress
Creates an instance of aProgressrecord class.- Parameters:
uploadTime- the value for theuploadTimerecord componentuploadId- the value for theuploadIdrecord componentdestination- the value for thedestinationrecord componentretrievalHost- the value for theretrievalHostrecord component
-
-
Method Details
-
empty
-
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. -
uploadTime
public long uploadTime()Returns the value of theuploadTimerecord component.- Returns:
- the value of the
uploadTimerecord component
-
uploadId
public long uploadId()Returns the value of theuploadIdrecord component.- Returns:
- the value of the
uploadIdrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
retrievalHost
Returns the value of theretrievalHostrecord component.- Returns:
- the value of the
retrievalHostrecord component
-