jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vossberg, Michal" <Michal.Vossb...@jamba-ag.de>
Subject Spooling after each update
Date Wed, 04 Jun 2003 11:48:44 GMT
Hi, 
we are implementing an auxiliary disk cache plugin that better suits out
needs. 
For this, I want each element explicitly put to disk with the update of the 
memory cache, not only spool them lru after reaching the limit. 
I added the spooling to the aux-update part of the CompositeCache update
method
which works fine but I wonder if that's the best (and intended) place. Any
other 
idea without intruding the core? 
Also, doing this the spooling of the memory manager becomes somewhat 
redundant. What's the best way to turn it off but still keep the limit of
the memory cache. 
I don't see that setting the element attributes to isSpool=false will help
as it's 
not being checked in the spooling method (and in fact it doesn't)!? 
Any advice will be greatly appreciated, 
Thanks
Michal 

--- Michal Vossberg
Development Mobile Applications
Jamba! AG - Pfuelstrasse 5 - 10997 Berlin
Phone: +49-30-69538-176        
Fax: +49-30-69538-599
Web: http://www.jamba.de     
WAP: http://wap.jamba.de/








Mime
View raw message