Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.meta | |
alluxio.worker.page |
Modifier and Type | Method and Description |
---|---|
StorageDir |
BlockMetadataManager.getDir(BlockStoreLocation location)
Gets the
StorageDir given its location in the store. |
Modifier and Type | Method and Description |
---|---|
void |
TieredBlockStore.removeDir(StorageDir dir)
Removes a storage directory.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultStorageDir
Represents a directory in a storage tier.
|
Modifier and Type | Method and Description |
---|---|
StorageDir |
DefaultStorageTier.getDir(int dirIndex) |
StorageDir |
StorageTier.getDir(int dirIndex)
Returns a directory for the given index.
|
StorageDir |
DefaultBlockMeta.getParentDir() |
StorageDir |
DefaultTempBlockMeta.getParentDir() |
StorageDir |
TempBlockMeta.getParentDir() |
StorageDir |
BlockMeta.getParentDir() |
static StorageDir |
DefaultStorageDir.newStorageDir(StorageTier tier,
int dirIndex,
long capacityBytes,
long reservedBytes,
String dirPath,
String dirMedium)
Factory method to create
StorageDir . |
Modifier and Type | Method and Description |
---|---|
List<StorageDir> |
DefaultStorageTier.getStorageDirs() |
List<StorageDir> |
StorageTier.getStorageDirs() |
Modifier and Type | Method and Description |
---|---|
static String |
DefaultBlockMeta.commitPath(StorageDir dir,
long blockId)
Committed block is stored in BlockStore under its
StorageDir as a block file named
after its blockId. |
void |
DefaultStorageTier.removeStorageDir(StorageDir dir) |
void |
StorageTier.removeStorageDir(StorageDir dir)
Removes a directory.
|
static String |
DefaultTempBlockMeta.tempPath(StorageDir dir,
long sessionId,
long blockId)
All blocks are created as temp blocks before committed.
|
Constructor and Description |
---|
DefaultBlockMeta(long blockId,
long blockSize,
StorageDir dir)
Creates a new instance of
DefaultBlockMeta . |
DefaultTempBlockMeta(long sessionId,
long blockId,
long initialBlockSize,
StorageDir dir)
Creates a new instance of
DefaultTempBlockMeta . |
StorageDirAllocatorView(StorageDir dir,
StorageTierView tierView)
Creates a
StorageDirAllocatorView using the actual StorageDir . |
StorageDirEvictorView(StorageDir dir,
StorageTierEvictorView tierView,
BlockMetadataEvictorView managerView)
Creates a
StorageDirEvictorView using the actual StorageDir
and the associated BlockMetadataEvictorView . |
StorageDirView(StorageDir dir,
StorageTierView tierView)
Creates a
StorageDirView using the actual StorageDir . |
Modifier and Type | Method and Description |
---|---|
StorageDir |
PagedBlockMeta.getParentDir() |
Copyright © 2023. All Rights Reserved.