Record Class StorageVolumeInfo
java.lang.Object
java.lang.Record
ecmwf.common.database.StorageVolumeInfo
- All Implemented Interfaces:
Serializable
-
Constructor Summary
ConstructorsConstructorDescriptionStorageVolumeInfo(int volume, String volumePath, String device, String mountPoint, String fileSystem) Creates an instance of aStorageVolumeInforecord class. -
Method Summary
Modifier and TypeMethodDescriptiondevice()Returns the value of thedevicerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileSystemrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themountPointrecord component.final StringtoString()Returns a string representation of this record class.intvolume()Returns the value of thevolumerecord component.Returns the value of thevolumePathrecord component.
-
Constructor Details
-
StorageVolumeInfo
public StorageVolumeInfo(int volume, String volumePath, String device, String mountPoint, String fileSystem) Creates an instance of aStorageVolumeInforecord class.- Parameters:
volume- the value for thevolumerecord componentvolumePath- the value for thevolumePathrecord componentdevice- the value for thedevicerecord componentmountPoint- the value for themountPointrecord componentfileSystem- the value for thefileSystemrecord 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. -
volume
public int volume()Returns the value of thevolumerecord component.- Returns:
- the value of the
volumerecord component
-
volumePath
Returns the value of thevolumePathrecord component.- Returns:
- the value of the
volumePathrecord component
-
device
Returns the value of thedevicerecord component.- Returns:
- the value of the
devicerecord component
-
mountPoint
Returns the value of themountPointrecord component.- Returns:
- the value of the
mountPointrecord component
-
fileSystem
Returns the value of thefileSystemrecord component.- Returns:
- the value of the
fileSystemrecord component
-