> Gerhard,
>
> It's not an inner class :)
stupid, eh :)..
> /** ..put the new object in the cache, on the top of course ... */
> - this.cache.put(key, new
> CacheObject(value,System.currentTimeMillis(),serialisedFlag));
> + this.cache.put(key, value);
> + this.mrulist.remove(key);
> this.mrulist.addFirst(key);
>
> mrulist was growing twice faster then cache.
Ahhh I see. But it only happens when the cache gets an object from
the store which is not valid and re-put it in the store with the same key.
Calling the remove() method from the cache would have the same effect...
Cheers
Gerhard
--
Gerhard Fröhlich
[EMAIL PROTECTED]
"black holes are,
when GOD is dividing by zero"
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]