Re: Ozone Collection class serialization
Leo Mekenkamp <[email protected]> Wed, 10 Nov 2004 20:41:30 +0100
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <1100115690.3524.2.camel@jupiter> |
> 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 > > I am using Ozone-1.2 collection class 'FullTreeMap' > > for storing a collection of more than 100 elements. > > But while retrieving only one particular element from > > the collection using a 'key', I noticed that it is > > reading/deserializing all the other elements. > > Similar thing happened while adding a new element in > > to the collection - serializing all the elements. > > > > But I noticed that if the elements inside the > > collection itself is an OzoneObject, 'onPassivate()' > > or 'onActivate()' method is called for the particular > > element only. > > > > > > Is it the expected behaviour of the 'FullTreeMap' ? > > > > Pls replay > > Philip C C > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Check out the new Yahoo! Front Page. > > www.yahoo.com > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > _______________________________________________ > > Ozone-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ozone-users > > > > > > ---------------------------------------------------------------------- > Pracuj w portalu INTERIA.PL! >>> http://link.interia.pl/f1839 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users -- Leo Mekenkamp; phone: +31 641234919 Care about freedom and innovation? http://openoffice.org, http://ozone-db.org, http://mozilla.org, http://linux.org ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click