public class PagedBlockStoreMeta extends Object implements BlockStoreMeta
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MEDIUM |
static DefaultStorageTierAssoc |
DEFAULT_STORAGE_TIER_ASSOC |
static String |
DEFAULT_TIER |
Modifier and Type | Method and Description |
---|---|
Map<String,List<Long>> |
getBlockList()
Note: This method is only available when users initialize
the blockStoreMeta with full block meta requirement.
|
Map<BlockStoreLocation,List<Long>> |
getBlockListByStorageLocation()
Note: This method is only available when users initialize
the blockStoreMeta with full block meta requirement.
|
long |
getCapacityBytes() |
Map<Pair<String,String>,Long> |
getCapacityBytesOnDirs() |
Map<String,Long> |
getCapacityBytesOnTiers() |
Map<String,List<String>> |
getDirectoryPathsOnTiers() |
Map<String,List<String>> |
getLostStorage() |
int |
getNumberOfBlocks()
Note: This is only available when blocks are included.
|
StorageTierAssoc |
getStorageTierAssoc() |
long |
getUsedBytes() |
Map<Pair<String,String>,Long> |
getUsedBytesOnDirs() |
Map<String,Long> |
getUsedBytesOnTiers() |
public static final String DEFAULT_TIER
public static final String DEFAULT_MEDIUM
public static final DefaultStorageTierAssoc DEFAULT_STORAGE_TIER_ASSOC
@Nullable public Map<String,List<Long>> getBlockList()
BlockStoreMeta
getBlockList
in interface BlockStoreMeta
@Nullable public Map<BlockStoreLocation,List<Long>> getBlockListByStorageLocation()
BlockStoreMeta
getBlockListByStorageLocation
in interface BlockStoreMeta
public long getCapacityBytes()
getCapacityBytes
in interface BlockStoreMeta
public Map<String,Long> getCapacityBytesOnTiers()
getCapacityBytesOnTiers
in interface BlockStoreMeta
public Map<Pair<String,String>,Long> getCapacityBytesOnDirs()
getCapacityBytesOnDirs
in interface BlockStoreMeta
public Map<String,List<String>> getDirectoryPathsOnTiers()
getDirectoryPathsOnTiers
in interface BlockStoreMeta
public Map<String,List<String>> getLostStorage()
getLostStorage
in interface BlockStoreMeta
public int getNumberOfBlocks()
BlockStoreMeta
getNumberOfBlocks
in interface BlockStoreMeta
public long getUsedBytes()
getUsedBytes
in interface BlockStoreMeta
public Map<String,Long> getUsedBytesOnTiers()
getUsedBytesOnTiers
in interface BlockStoreMeta
public Map<Pair<String,String>,Long> getUsedBytesOnDirs()
getUsedBytesOnDirs
in interface BlockStoreMeta
public StorageTierAssoc getStorageTierAssoc()
getStorageTierAssoc
in interface BlockStoreMeta
Copyright © 2023. All Rights Reserved.