@ThreadSafe public class NondeterministicLRUCacheEvictor extends LRUCacheEvictor
mLRUCache
Constructor and Description |
---|
NondeterministicLRUCacheEvictor(AlluxioConfiguration conf)
Required constructor.
|
Modifier and Type | Method and Description |
---|---|
PageId |
evict() |
void |
setNumOfCandidate(int n) |
reset, updateOnDelete, updateOnGet, updateOnPut
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public NondeterministicLRUCacheEvictor(AlluxioConfiguration conf)
conf
- Alluxio configurationpublic void setNumOfCandidate(int n)
n
- Number of eviction candidate to randomly select from@Nullable public PageId evict()
evict
in interface CacheEvictor
evict
in class LRUCacheEvictor
Copyright © 2023. All Rights Reserved.