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,
BlockMetadataManagerView view) |
StorageDirView |
GreedyAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataManagerView view) |
StorageDirView |
RoundRobinAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataManagerView view) |
StorageDirView |
Allocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataManagerView view)
Allocates a block from the given block store location under a given view.
|
static Allocator |
Allocator.Factory.create(BlockMetadataManagerView view)
Factory for
Allocator . |
Constructor and Description |
---|
GreedyAllocator(BlockMetadataManagerView view)
Creates a new instance of
GreedyAllocator . |
MaxFreeAllocator(BlockMetadataManagerView view)
Creates a new instance of
MaxFreeAllocator . |
RoundRobinAllocator(BlockMetadataManagerView view)
Creates a new instance of
RoundRobinAllocator . |
Modifier and Type | Field and Description |
---|---|
protected BlockMetadataManagerView |
AbstractEvictor.mManagerView |
Modifier and Type | Method and Description |
---|---|
static Evictor |
Evictor.Factory.create(BlockMetadataManagerView view,
Allocator allocator)
Factory for
Evictor . |
EvictionPlan |
GreedyEvictor.freeSpaceWithView(long availableBytes,
BlockStoreLocation location,
BlockMetadataManagerView view) |
EvictionPlan |
Evictor.freeSpaceWithView(long availableBytes,
BlockStoreLocation location,
BlockMetadataManagerView view)
Frees space with the guaranteed mode.
|
EvictionPlan |
AbstractEvictor.freeSpaceWithView(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataManagerView view) |
EvictionPlan |
GreedyEvictor.freeSpaceWithView(long availableBytes,
BlockStoreLocation location,
BlockMetadataManagerView view,
Evictor.Mode mode) |
EvictionPlan |
Evictor.freeSpaceWithView(long availableBytes,
BlockStoreLocation location,
BlockMetadataManagerView view,
Evictor.Mode mode)
Frees space in the given block store location and with the given view.
|
EvictionPlan |
AbstractEvictor.freeSpaceWithView(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataManagerView view,
Evictor.Mode mode) |
EvictionPlan |
LRFUEvictor.freeSpaceWithView(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataManagerView view,
Evictor.Mode mode) |
static StorageDirView |
EvictorUtils.getDirWithMaxFreeSpace(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataManagerView mManagerView)
Gets
StorageDirView with max free space. |
static StorageDirView |
EvictorUtils.selectDirWithRequestedSpace(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataManagerView mManagerView)
Finds a directory in the given location range with capacity upwards of the given bound.
|
Constructor and Description |
---|
AbstractEvictor(BlockMetadataManagerView view,
Allocator allocator)
Creates a new instance of
AbstractEvictor . |
GreedyEvictor(BlockMetadataManagerView view,
Allocator allocator)
Creates a new instance of
GreedyEvictor . |
LRFUEvictor(BlockMetadataManagerView view,
Allocator allocator)
Creates a new instance of
LRFUEvictor . |
LRUEvictor(BlockMetadataManagerView view,
Allocator allocator)
Creates a new instance of
LRUEvictor . |
PartialLRUEvictor(BlockMetadataManagerView view,
Allocator allocator)
Creates a new instance of
PartialLRUEvictor . |
Modifier and Type | Method and Description |
---|---|
BlockMetadataManagerView |
StorageTierView.getBlockMetadataManagerView() |
Constructor and Description |
---|
StorageDirView(StorageDir dir,
StorageTierView tierView,
BlockMetadataManagerView managerView)
|
StorageTierView(StorageTier tier,
BlockMetadataManagerView view)
|
Copyright © 2023. All Rights Reserved.