Package | Description |
---|---|
alluxio.worker.block.evictor |
Set of evictors for evicting or moving blocks to other locations.
|
alluxio.worker.block.meta |
Modifier and Type | Field and Description |
---|---|
protected BlockMetadataEvictorView |
AbstractEvictor.mMetadataView |
Modifier and Type | Method and Description |
---|---|
static Evictor |
Evictor.Factory.create(BlockMetadataEvictorView view,
Allocator allocator)
Factory for
Evictor . |
EvictionPlan |
GreedyEvictor.freeSpaceWithView(long availableBytes,
BlockStoreLocation location,
BlockMetadataEvictorView view) |
EvictionPlan |
Evictor.freeSpaceWithView(long availableBytes,
BlockStoreLocation location,
BlockMetadataEvictorView view)
Frees space with the guaranteed mode.
|
EvictionPlan |
AbstractEvictor.freeSpaceWithView(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataEvictorView view) |
EvictionPlan |
LRFUEvictor.freeSpaceWithView(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataEvictorView view,
Evictor.Mode mode) |
EvictionPlan |
GreedyEvictor.freeSpaceWithView(long availableBytes,
BlockStoreLocation location,
BlockMetadataEvictorView view,
Evictor.Mode mode) |
EvictionPlan |
Evictor.freeSpaceWithView(long availableBytes,
BlockStoreLocation location,
BlockMetadataEvictorView view,
Evictor.Mode mode)
Frees space in the given block store location and with the given view.
|
EvictionPlan |
AbstractEvictor.freeSpaceWithView(long bytesToBeAvailable,
BlockStoreLocation location,
BlockMetadataEvictorView view,
Evictor.Mode mode) |
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.
|
Constructor and Description |
---|
AbstractEvictor(BlockMetadataEvictorView view,
Allocator allocator)
Creates a new instance of
AbstractEvictor . |
GreedyEvictor(BlockMetadataEvictorView view,
Allocator allocator)
Creates a new instance of
GreedyEvictor . |
LRFUEvictor(BlockMetadataEvictorView view,
Allocator allocator)
Creates a new instance of
LRFUEvictor . |
LRUEvictor(BlockMetadataEvictorView view,
Allocator allocator)
Creates a new instance of
LRUEvictor . |
PartialLRUEvictor(BlockMetadataEvictorView view,
Allocator allocator)
Creates a new instance of
PartialLRUEvictor . |
Modifier and Type | Method and Description |
---|---|
BlockMetadataEvictorView |
StorageTierEvictorView.getBlockMetadataEvictorView() |
Constructor and Description |
---|
StorageDirEvictorView(StorageDir dir,
StorageTierEvictorView tierView,
BlockMetadataEvictorView managerView)
Creates a
StorageDirEvictorView using the actual StorageDir
and the associated BlockMetadataEvictorView . |
StorageTierEvictorView(StorageTier tier,
BlockMetadataEvictorView view)
Creates a
StorageTierEvictorView using the actual StorageTier and the above
BlockMetadataEvictorView . |
Copyright © 2023. All Rights Reserved.