Package | Description |
---|---|
alluxio.worker.block.allocator | |
alluxio.worker.block.evictor |
Set of evictors for evicting or moving blocks to other locations.
|
alluxio.worker.block.meta |
Modifier and Type | Method and Description |
---|---|
StorageDirView |
MaxFreeAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView) |
StorageDirView |
GreedyAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView) |
StorageDirView |
RoundRobinAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView) |
StorageDirView |
Allocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView view)
Allocates a block from the given block store location under a given view.
|
Modifier and Type | Method and Description |
---|---|
static StorageDirView |
EvictorUtils.getDirWithMaxFreeSpace(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataEvictorView metadataView)
Gets
StorageDirView with max free space. |
static StorageDirView |
EvictorUtils.selectDirWithRequestedSpace(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataEvictorView mManagerView)
Finds a directory in the given location range with capacity upwards of the given bound.
|
Modifier and Type | Class and Description |
---|---|
class |
StorageDirAllocatorView
This class is a wrapper of
StorageDir to provide more limited access for allocators. |
class |
StorageDirEvictorView
This class is a wrapper of
StorageDir to provide more limited access for evictors. |
Modifier and Type | Method and Description |
---|---|
StorageDirView |
StorageTierView.getDirView(int dirIndex)
Returns a directory view for the given index.
|
Modifier and Type | Method and Description |
---|---|
List<StorageDirView> |
StorageTierView.getDirViews() |
Copyright © 2023. All Rights Reserved.