Class HDDSVolumeLayoutVersion
java.lang.Object
org.apache.hadoop.ozone.container.common.HDDSVolumeLayoutVersion
Layout version which describes information about the layout version
on the datanode volume.
-
Method Summary
Modifier and TypeMethodDescriptionstatic HDDSVolumeLayoutVersion[]Returns all versions.Return description.static HDDSVolumeLayoutVersionReturns the latest version.intReturn the version.
-
Method Details
-
getAllVersions
Returns all versions.- Returns:
- Version info array.
-
getLatestVersion
Returns the latest version.- Returns:
- versionInfo
-
getDescription
Return description.- Returns:
- String
-
getVersion
public int getVersion()Return the version.- Returns:
- int.
-