> 
> 
> 
> I have a cache definition configuration and would like to 
> enable/disable
> caching using that configuration. Is maxObjects = 0 amount to 
> disable the
> cache? 

No....and if you are using diskstore as well, it merely indicates to not use 
memory cache, and spool everything to disk immediately (not sure what happpens 
when diskstore disabled and maxobjects = 0). 

As I understand correctly, you want to enable/disable cache by configuration, 
right? So, this is only done at startup, ok? Then, why would you ever want a 
disable jcs cache? I needed a standard storing lately as well, and by 
configuration tell wether to cache or not. I added a NOPCache, that is used 
when no caching is needed.

Ard

> 
> Thanks
> -- 
> View this message in context: 
> http://www.nabble.com/Disable-JCS-Cache-tf3024694.html#a8402673
> Sent from the JCS - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to