Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.meta |
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 | Field and Description |
---|---|
protected StorageDir |
AbstractBlockMeta.mDir |
Modifier and Type | Method and Description |
---|---|
StorageDir |
StorageTier.getDir(int dirIndex)
Returns a directory for the given index.
|
StorageDir |
AbstractBlockMeta.getParentDir() |
static StorageDir |
StorageDir.newStorageDir(StorageTier tier,
int dirIndex,
long capacityBytes,
String dirPath,
String dirMedium)
Factory method to create
StorageDir . |
Modifier and Type | Method and Description |
---|---|
List<StorageDir> |
StorageTier.getStorageDirs() |
Modifier and Type | Method and Description |
---|---|
static String |
AbstractBlockMeta.commitPath(StorageDir dir,
long blockId)
Committed block is stored in BlockStore under its
StorageDir as a block file named
after its blockId. |
void |
StorageTier.removeStorageDir(StorageDir dir)
Removes a directory.
|
static String |
AbstractBlockMeta.tempPath(StorageDir dir,
long sessionId,
long blockId)
All blocks are created as temp blocks before committed.
|
Constructor and Description |
---|
AbstractBlockMeta(long blockId,
StorageDir dir)
Creates a new instance of
AbstractBlockMeta . |
BlockMeta(long blockId,
long blockSize,
StorageDir dir)
Creates a new instance of
BlockMeta . |
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 . |
TempBlockMeta(long sessionId,
long blockId,
long initialBlockSize,
StorageDir dir)
Creates a new instance of
TempBlockMeta . |
Copyright © 2023. All Rights Reserved.