Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.allocator |
Modifier and Type | Class and Description |
---|---|
class |
BlockMetadataAllocatorView
This class exposes a narrower read-only view of block metadata to allocators.
|
class |
BlockMetadataEvictorView
This class exposes a narrower view of
BlockMetadataManager to Evictors,
filtering out un-evictable blocks and un-allocatable space internally, so that evictors and
allocators can be developed with much simpler logic, without worrying about various constraints,
e.g. |
Modifier and Type | Method and Description |
---|---|
StorageDirView |
RoundRobinAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView) |
StorageDirView |
GreedyAllocator.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.
|
StorageDirView |
MaxFreeAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView) |
static Allocator |
Allocator.Factory.create(BlockMetadataView view)
Factory for
Allocator . |
Constructor and Description |
---|
GreedyAllocator(BlockMetadataView view)
Creates a new instance of
GreedyAllocator . |
MaxFreeAllocator(BlockMetadataView view)
Creates a new instance of
MaxFreeAllocator . |
RoundRobinAllocator(BlockMetadataView view)
Creates a new instance of
RoundRobinAllocator . |
Copyright © 2023. All Rights Reserved.