jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <ja...@jamestaylor.org>
Subject RE: MaxLifeSeconds
Date Wed, 12 Mar 2003 20:54:09 GMT
On Tue, 2003-03-11 at 17:20, Desai, Mehul P wrote:
> Thanks again. Last two questions and that should really clear up current
> doubts. 
> 1) We are not setting the IsSpool element attribute - is that by default
> true or false? If it is false, that means we are never writing to the disk
> and the cache is being refreshed every time we reboot?

I just took a quick look at the code, and it appears Element.getIsSpool
is not used, elements are always assumed to be spoolable.

However it probably should be that way, any element with isSpool false
would never get written to an aux cache.

> 2) Also we are not calling CacheAccess.dispose when we shut down - does that
> also imply that we are not persisting the cache between server reboots?


> Sorry about the flurry of questions - I just want to make sure whether we
> need to make any changes to ensure that the cache is refreshed every time
> the server reboots.
> I will definitely let you know if we decide to implement remote clearing of
> the cache or the test case for persistence.
> Thanks,
> Mehul.

View raw message