public class FromLargestCacheOnHeapPoolEvictor extends AbstractFromLargestCachePoolEvictor
| Constructor and Description |
|---|
FromLargestCacheOnHeapPoolEvictor() |
| 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
|
freeSpaceprotected boolean evict(int count,
long bytes,
PoolableStore largestPoolableStore)
evict in class AbstractFromLargestCachePoolEvictorcount - the element countbytes - the bytes countlargestPoolableStore - the storeprotected long getSizeInBytes(PoolableStore largestPoolableStore)
getSizeInBytes in class AbstractFromLargestCachePoolEvictorlargestPoolableStore - the storeCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.