private class CacheRecordManager.CacheListener extends java.lang.Object implements CachePolicyListener<CacheRecordManager.CacheEntry>
| Modifier | Constructor and Description |
|---|---|
private |
CacheListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheObjectEvicted(CacheRecordManager.CacheEntry obj)
Notification that cache is evicting an object
|
public void cacheObjectEvicted(CacheRecordManager.CacheEntry obj) throws CacheEvictionException
cacheObjectEvicted in interface CachePolicyListener<CacheRecordManager.CacheEntry>obj - object evicted from cacheCacheEvictionException - if this listener encountered problems
while preparing for the specified object's eviction. For example,
a listener may try to persist the object to disk, and encounter
an IOException.