You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by "Desai, Mehul P" <MP...@directv.com> on 2003/03/11 22:12:20 UTC
MaxLifeSeconds
Hi,
I had two questions.
We have not set the MaxLifeSeconds element attributes. So what is the
Default life of the cache in this case?
My other question is - is there a way to remotely flush the cache?
Maybe using mbeans?
Thanks,
Mehul.
Re: MaxLifeSeconds
Posted by James Taylor <ja...@jamestaylor.org>.
> We have not set the MaxLifeSeconds element attributes. So what is the
> Default life of the cache in this case?
Infinite, unless maxIdle is set.
> My other question is - is there a way to remotely flush the cache?
> Maybe using mbeans?
Sure, you just need to write an mbean wrapper to do it =] There is a
servlet interface for managing the cache, which is what I use. I imagine
mbeans could be implemented similarly.