public final class EvictLRU extends EvictLRUBase
| Constructor and Description |
|---|
EvictLRU(boolean lastTier) |
| Modifier and Type | Method and Description |
|---|---|
Pair<StorageDir,List<BlockInfo>> |
getDirCandidate(StorageDir[] storageDirs,
Set<Integer> pinList,
long requestBytes)
Get StorageDir allocated and also get blocks to be evicted among StorageDir candidates
|
blockEvictable, getLRUBlockpublic Pair<StorageDir,List<BlockInfo>> getDirCandidate(StorageDir[] storageDirs, Set<Integer> pinList, long requestBytes)
EvictStrategystorageDirs - StorageDir candidates that the space will be allocated inpinList - list of pinned filerequestBytes - requested space size in bytesCopyright © 2015. All Rights Reserved.