@ThreadSafe public interface CacheEvictor
Modifier and Type | Method and Description |
---|---|
static CacheEvictor |
create(AlluxioConfiguration conf) |
PageId |
evict() |
void |
reset()
Resets the evictor.
|
void |
updateOnDelete(PageId pageId)
Updates evictor after a delete operation.
|
void |
updateOnGet(PageId pageId)
Updates evictor after a get operation.
|
void |
updateOnPut(PageId pageId)
Updates evictor after a put operation.
|
static CacheEvictor create(AlluxioConfiguration conf)
conf
- the alluxio configurationvoid updateOnGet(PageId pageId)
pageId
- page identifiervoid updateOnPut(PageId pageId)
pageId
- page identifiervoid updateOnDelete(PageId pageId)
pageId
- page identifiervoid reset()
Copyright © 2023. All Rights Reserved.