[Fwd: Re: [OJB-developers] Cache of Collections]
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-03-09 11:10:36
|
-------- Original Message -------- Subject: Re: [OJB-developers] Cache of Collections Date: Sat, 09 Mar 2002 11:56:26 +0100 From: Thomas Mahler <tho...@ho...> To: John Wang <hw...@re...> References: <Pin...@sc...> <3C8...@ho...> <00a001c1c6de$6b3ec640$5901a8c0@JWANG> Hi John, John Wang wrote: > I am wondering about how JOB handles the cache of collections? > Say, A has many B, > first I get A, it contains a collection of B, and the object A is put into > the cache > then Another user has added an object B, this time the object A's B > collection should contain the new B, > Can JOB handles that? Or at least it should invalidate the object A or A's B > collection. > Yes such situation are handled correctly. The cache maintains uniqueness of objects. That is if a user looks up an identity I he is returned Object A. If another user looks up the same identity he is returned the same Object A. > BTW, does client/server model work for the current version? (0.7.343). And > it support distrubuted cache of objects? > Yes ! Thomas > Thanks a lot, > John W |