You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Kevin Sutter <kw...@gmail.com> on 2012/12/03 21:53:10 UTC
Re: Data cache resource usage
Hi Don,
Yes, OpenJPA spins off a daemon thread that sleeps and wakes up based on
your configuration. If you are interested in more detail on how this
works, I'd suggest looking at the following code part:
org.apache.openjpa.datacache.ClearableScheduler
Thanks,
Kevin
On Fri, Nov 30, 2012 at 3:00 PM, kostellodon <do...@citi.com>wrote:
> I am using OpenJPA 1.2.3 and am enabling the data cache. I'm setting up
> the
> refresh so that it will clear the cache once per day using the cron-like
> setting. How is OpenJPA going to do this? Is it going to create a
> separate
> thread that will sleep and wake up, is there some code running checking the
> clock, or ???
>
> Thanks for any help.
>
> Don
>
>
>
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Data-cache-resource-usage-tp7582024.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>