this item is just added to the cache
CacheItem overflow = null;
LruCacheItem lc = (LruCacheItem) item;
// set the timestamp
lc.lastAccessed = ((Long) item.value).longValue();
// update the LRU
synchronized (this) {
if (head != null) {
head.lPrev = lc;
lc.lNext = head;
}
else {
tail = lc;
}
head = lc;
listSize++;
}
return overflow;