Community
Participate
Working Groups
Between CDOSession.waitForUpdate() and the CDOView invalidation is an unpredictable gap, caused by the InvalidationRunner thread. If you want to know when a partiular update has been applied to a CDOView there needs to be separate API.
I've made CDOSession and CDOView subtypes of: public interface CDOUpdatable { public static final long NO_TIMEOUT = -1; public long getLastUpdateTime(); public void waitForUpdate(long updateTime); public boolean waitForUpdate(long updateTime, long timeoutMillis); }
Committed to HEAD
Available in 3.0 GA: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/