public class ProbabilisticBufferReviewer extends Object implements Reviewer
StorageDirby early stopping putting new blocks into it. The existing blocks in the
StorageDirwill likely read more data in and expand in size. We want to leave some space for the expansion, to lower the chance of eviction.
|Constructor and Description|
Constructor the instance from configuration.
|Modifier and Type||Method and Description|
Reviews an allocation proposed by the
public boolean acceptAllocation(StorageDirView dirView)
Allocator. Returning true means the allocation is accepted. Returning false meanes the allocation is rejected.
dirView- the storage dir that the block is allocated to
Copyright © 2023. All Rights Reserved.