public class EntryCacheDefaultEvictionPolicy extends Object implements EntryCacheEvictionPolicy
| Constructor and Description |
|---|
EntryCacheDefaultEvictionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
doEviction(List<EntryCache> caches,
long sizeToFree)
Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.
|
public void doEviction(List<EntryCache> caches, long sizeToFree)
EntryCacheEvictionPolicydoEviction in interface EntryCacheEvictionPolicycaches - the list of caches to considersizeToFree - the minimum size in bytes to be freedCopyright © 2017–2021 Apache Software Foundation. All rights reserved.