thank you Thomas, but is there anyway to persist and reload the cache with
1.3?


os melhores cumprimentos / best regards / Mit freundlichen Grüssen / Saludos

joão tiago viegas

On 14 November 2014 17:29, Thomas Vandahl <t...@apache.org> wrote:

> On 14.11.14 18:03, Thomas Vandahl wrote:
> > On 14.11.14 13:47, joao tiago a. m. viegas wrote:
> >> I'll probably reformat this question in a simpler way.
> >>
> >> The goal is to persist an element and retrieve it after restart of a
> new vm.
> >
> > The disk caches persist the keys when the cache is shut down. So you
> > should call CompositeCacheManager.getInstance().shutDown(); before your
> > application ends.
> >
>
> To be precise: You cannot shut down the cache in the middle of a process
> because with jcs 1.3 the cache will not re-initialize correctly. This
> should have been fixed to a large extent in jcs 2.0 but still needs
> further work.
>
> Bye, Thomas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>

Reply via email to