public interface EvictStrategy
| 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
|
Pair<StorageDir,List<BlockInfo>> getDirCandidate(StorageDir[] storageDirs, Set<Integer> pinList, long requestBytes)
storageDirs - StorageDir candidates that the space will be allocated inpinList - list of pinned filerequestBytes - requested space size in bytesCopyright © 2015. All Rights Reserved.