Re: Ozone Collection class serialization

"Wieslaw Faruga" <[email protected]> Mon, 22 Nov 2004 14:49:35 +0100
Newsgroups gmane.comp.java.ozone.user
Message-ID <41A1FC7F.22329.19FBD10@localhost>
On 21 Nov 2004 at 22:48, Philip C C wrote:

Please read again what has written Leo.
The ozone objects are written in groups. If you are adding a new elements to two 
separated ozone collections, these objects may be added to a single cluster and then 
will be written together. The currently used "WizardStore" storage system creates a 
new cluster (a file objects container) only in a following cases:
1. a new ozone object is created by different user.
2. the cluster size is greater than 64K.

Cheers,
Wieslaw

> Hi,
> Now I am using two NodeTreeMapImpl collection class
> (say collection A and B) inside a class as its two
> attributes. Now I noticed that whenever collection A
> get updated (added a new element to the collection),
> elements in collection B got serialized (get called
> wrireObject method). I don't want collection B to get
> updated/affected when I am updating collection A.   
> Pls replay..
> 
> Thanks,
> Philip C C
> 
> --- Leo Mekenkamp <[email protected]> wrote:
> 
> > > You should use NodeTreeMapImpl collection instead
> > of Full....
> > > See package.html 
> > (...\ozone\modules\collections\src\...)
> > 
> > And to add to this: since WizardStore puts objects
> > together in clusters,
> > most of the read/write actions one one object will
> > cause a number of
> > other objects to be read/written at the same time.
> > This is not only
> > applicable to ozone aware collections, but to every
> > ozone object.
> > 
> > Cheers,
> > Leo
> > 
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Meet the all-new My Yahoo! - Try it today! 
> http://my.yahoo.com 
>  
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Ozone-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ozone-users
> 



----------------------------------------------------------------------
Nudzisz sie? Zagraj sobie! >>> http://link.interia.pl/f183d



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/