Reviewer.Factory
Constructor and Description |
---|
AcceptingReviewer() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptAllocation(StorageDirView dirView)
Reviews an allocation proposed by the
Allocator . |
public boolean acceptAllocation(StorageDirView dirView)
Reviewer
Allocator
.
Returning true means the allocation is accepted.
Returning false meanes the allocation is rejected.acceptAllocation
in interface Reviewer
dirView
- the storage dir that the block is allocated toCopyright © 2023. All Rights Reserved.