public interface StorageTier
StorageDir
which actually contains metadata information about blocks stored and space
used/available.Modifier and Type | Method and Description |
---|---|
long |
getAvailableBytes() |
long |
getCapacityBytes() |
StorageDir |
getDir(int dirIndex)
Returns a directory for the given index.
|
List<String> |
getLostStorage() |
List<StorageDir> |
getStorageDirs() |
String |
getTierAlias() |
int |
getTierOrdinal() |
void |
removeStorageDir(StorageDir dir)
Removes a directory.
|
int getTierOrdinal()
String getTierAlias()
long getCapacityBytes()
long getAvailableBytes()
@Nullable StorageDir getDir(int dirIndex)
dirIndex
- the directory indexList<StorageDir> getStorageDirs()
void removeStorageDir(StorageDir dir)
dir
- directory to be removedCopyright © 2023. All Rights Reserved.