Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Long EList:s and caching
[CDO] Long EList:s and caching [message #503194] Fri, 11 December 2009 05:48 Go to next message
Anders Forsell is currently offline Anders ForsellFriend
Messages: 127
Registered: July 2009
Senior Member
Hello,

Assume I have a potentially VERY large list (EList) of a custom
EDataType (double[]). Also, there are two clients (clientA, clientB)
connected to the same CDO repository and they display the same list in a
table. If clientA adds a new element to the list and committs to the
server, how much is tranferred to clientB (over the wire) ?

Is it only the added element or the whole list or something inbetween?
Is it configurable?

Regards,

---
Anders
Re: [CDO] Long EList:s and caching [message #503360 is a reply to message #503194] Sat, 12 December 2009 08:30 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Anders,

Additions to lists, attributes or references, are locally captured as
deltas (or operations) and are committed to the repository as such. For
loading CDO does never use deltas at the moment. Reference lists can be
lazily and partially loaded. AFAIK this does not apply for attribute
lists. Maybe Simon can elaborate?

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Anders Forsell schrieb:
> Hello,
>
> Assume I have a potentially VERY large list (EList) of a custom
> EDataType (double[]). Also, there are two clients (clientA, clientB)
> connected to the same CDO repository and they display the same list in
> a table. If clientA adds a new element to the list and committs to the
> server, how much is tranferred to clientB (over the wire) ?
>
> Is it only the added element or the whole list or something inbetween?
> Is it configurable?
>
> Regards,
>
> ---
> Anders


Previous Topic:How to get the eReferences of a referenced class?
Next Topic:How to compare dynamic ecore models
Goto Forum:
  


Current Time: Fri Apr 26 12:16:12 GMT 2024

Powered by FUDForum. Page generated in 0.02949 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top