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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to