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 |
---|---|
BlockMetadataView |
BlockMetadataView.refreshView()
Used to refresh the view based on current metadata status.
|
Modifier and Type | Method and Description |
---|---|
StorageDirView |
GreedyAllocator.allocateBlockWithView(long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView,
boolean skipReview) |
StorageDirView |
RoundRobinAllocator.allocateBlockWithView(long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView,
boolean skipReview) |
StorageDirView |
MaxFreeAllocator.allocateBlockWithView(long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView,
boolean skipReview) |
StorageDirView |
Allocator.allocateBlockWithView(long blockSize,
BlockStoreLocation location,
BlockMetadataView view,
boolean skipReview)
Allocates a block from the given block store location under a given view.
|
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.