| Summary: | Let CDOSession.waitForUpdate() wait for updates on all views | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Caspar D. <caspar_d> | ||||||||||
| Component: | cdo.core | Assignee: | Caspar D. <caspar_d> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||||||||
| Severity: | enhancement | ||||||||||||
| Priority: | P3 | CC: | saulius.tvarijonas | ||||||||||
| Version: | 4.0 | Keywords: | noteworthy | ||||||||||
| Target Milestone: | --- | Flags: | stepper:
review+
|
||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Caspar D.
Created attachment 190528 [details]
Patch
Created attachment 190532 [details]
Patch v2
Original patch didn't achieve it's goal because invalidation is
being called asynchronously.
New patch has session.waitForUpdate call view.waitForUpdate for
every view.
Created attachment 190534 [details]
Patch v3
Created attachment 190728 [details]
Patch v4
simple reformat
Your English is so perfect, can you add specific JavaDoc in CDOSession? (In reply to comment #5) > Your English is so perfect, Riiiiiiiight... I feel special now, and not at all inveigled into performing the below chore, hehe. > can you add specific JavaDoc in CDOSession? I guess you mean in CDOSessionImpl, since the declaration in CDOUpdateable is already documented? Please confirm. Should have been more specific. Please override the method from CDOUpdatable in CDOSession.java, just to add JavaDoc with the special semantics you're implying now ;-) Committed rev. 7427 Committed revision 7432. (JavaDoc as requested.) I wonder if it will cause confusion that CDOSession.getLastUpdateTime() may return a time X before CDOSession.waitForUpdate(X) unblocks... Committed revision 7434: - trunk/plugins/org.eclipse.emf.cdo (In reply to comment #10) > I wonder if it will cause confusion that CDOSession.getLastUpdateTime() may > return a time X before CDOSession.waitForUpdate(X) unblocks... Nah, it won't :-) Smart answer :P Not sure I agree, though. Let's see if someone else will complain... Available in R20110608-1407 |