FIFOSessionCachepublic class FIFOSessionCache extends LruSessionCache
Methods Summary |
---|
protected void | itemAccessed(CacheItem item)
LruCacheItem lc = (LruCacheItem) item;
synchronized (this) {
if (lc.isTrimmed) {
lc.isTrimmed = false;
CacheItem overflow = super.itemAdded(item);
if (overflow != null) {
trimItem(overflow);
}
}
}
| protected void | itemRefreshed(CacheItem item, int oldSize)
| public void | trimTimedoutItems(int maxCount)
trimUnSortedTimedoutItems(maxCount);
|
|