openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@gmail.com>
Subject Re: difference between datacache and systemDataCache?
Date Thu, 03 Apr 2008 18:42:45 GMT
>  What is the exact concept behind the system wide datacache?
>  Is it just a simplified way to get a proxy to all the caches in case
>  someone needs it and does not know which cache exactly they should get? It
>  seems to just be fullfiling this role.

Yep, that's its job. Since OpenJPA has just a single data cache (vs.
Kodo's multiple named caches), in OpenJPA this is not a proxy.

>  Why does the broker gets a reference to the systemDataCache when it is
>  created?

What code in particular are you asking about?

-Patrick

On Thu, Apr 3, 2008 at 10:29 AM,  <Frederic_Bellier@capgroup.com> wrote:
>
>  What is the exact concept behind the system wide datacache?
>  Is it just a simplified way to get a proxy to all the caches in case
>  someone needs it and does not know which cache exactly they should get? It
>  seems to just be fullfiling this role.
>
>  Why does the broker gets a reference to the systemDataCache when it is
>  created?
>
>  F
>
>



-- 
Patrick Linskey
202 669 5907

Mime
View raw message