public class FromLargestCacheOnDiskPoolEvictor extends AbstractFromLargestCachePoolEvictor
Constructor and Description |
---|
FromLargestCacheOnDiskPoolEvictor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evict(int count,
long bytes,
PoolableStore largestPoolableStore)
Evict from a store for a chosen resource
|
protected long |
getSizeInBytes(PoolableStore largestPoolableStore)
Get a store size in bytes for a chosen resource
|
freeSpace
protected boolean evict(int count, long bytes, PoolableStore largestPoolableStore)
evict
in class AbstractFromLargestCachePoolEvictor
count
- the element countbytes
- the bytes countlargestPoolableStore
- the storeprotected long getSizeInBytes(PoolableStore largestPoolableStore)
getSizeInBytes
in class AbstractFromLargestCachePoolEvictor
largestPoolableStore
- the storeCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.