Package | Description |
---|---|
alluxio.worker.block | |
alluxio.worker.block.allocator | |
alluxio.worker.block.evictor |
Set of evictors for evicting or moving blocks to other locations.
|
alluxio.worker.block.meta | |
alluxio.worker.block.reviewer |
Modifier and Type | Method and Description |
---|---|
List<StorageDirView> |
BlockMetadataEvictorView.getDirs(BlockStoreLocation location)
Gets all dir views that belongs to a given location.
|
Modifier and Type | Method and Description |
---|---|
StorageDirView |
GreedyAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView,
boolean skipReview) |
StorageDirView |
MaxFreeAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView,
boolean skipReview) |
StorageDirView |
RoundRobinAllocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView metadataView,
boolean skipReview) |
StorageDirView |
Allocator.allocateBlockWithView(long sessionId,
long blockSize,
BlockStoreLocation location,
BlockMetadataView view,
boolean skipReview)
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() |
Modifier and Type | Method and Description |
---|---|
boolean |
AcceptingReviewer.acceptAllocation(StorageDirView dirView) |
boolean |
Reviewer.acceptAllocation(StorageDirView dirView)
Reviews an allocation proposed by the
Allocator . |
boolean |
ProbabilisticBufferReviewer.acceptAllocation(StorageDirView dirView) |
Copyright © 2023. All Rights Reserved.