Class DataStorage.VolumeBuilder
java.lang.Object
org.apache.hadoop.hdfs.server.datanode.DataStorage.VolumeBuilder
- Enclosing class:
- DataStorage
VolumeBuilder holds the metadata (e.g., the storage directories) of the
prepared volume returned from
DataStorage.prepareVolume(DataNode, StorageLocation, List).
Calling build()
to add the metadata to DataStorage so that this prepared volume can
be active.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()Add loaded metadata of a data volume toDataStorage.final Storage.StorageDirectory
-
Constructor Details
-
VolumeBuilder
-
-
Method Details
-
getStorageDirectory
-
build
public void build()Add loaded metadata of a data volume toDataStorage.
-