@Private
@Unstable
public static class DataStorage.VolumeBuilder
extends java.lang.Object
DataStorage.prepareVolume(DataNode, StorageLocation, List).
Calling build()
to add the metadata to DataStorage so that this prepared volume can
be active.| Constructor | Description |
|---|---|
VolumeBuilder(DataStorage storage,
Storage.StorageDirectory sd) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
build() |
Add loaded metadata of a data volume to
DataStorage. |
Storage.StorageDirectory |
getStorageDirectory() |
@VisibleForTesting public VolumeBuilder(DataStorage storage, Storage.StorageDirectory sd)
public final Storage.StorageDirectory getStorageDirectory()
public void build()
DataStorage.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.