Community
Participate
Working Groups
Build Identifier: M20100909-0800 The interface CDOCollectionLoadingPolicy does not provide the method getResolveChunkSize, although this feature logically seems to be part of its definition (see http://wiki.eclipse.org/CDO/Tweaking_Performance#Loading_Partial_Collections_.E2.80.93_CDOCollectionLoadingPolicy and org.eclipse.emf.internal.cdo.session.CDOCollectionLoadingPolicyImpl). Reproducible: Always Steps to Reproduce: 1. see source code
Created attachment 189792 [details] pulling method "getResolveChunkSize" up to interface definition
Hi Frieder, I don't quite understand this. Your new method is not called by the framework, so why shold it be there?
Created attachment 189815 [details] Patch v2 Patch in workspace relativ format and with the missing @since tag.
Hello Eike, you're right - I have been trying things for which I needed this method to be in the interface, but the framework does not call it, indeed. My bad :| But, anyhow, it makes sense to me to make this information public, since providing a size for initial chunks consequently needs a size of chunks to be resolved, am I wrong? (Keeping in mind the initial/resolve semantics of CDOCollecionLoadingPolicy, IDs vs. revisions.)
Added JavaDoc.
Committed revision 7310 to trunk. Frieder, please confirm that: 1) The number of lines that you changed is smaller than 250. 2) You are the only author of these changed lines. 3) You apply the EPL to these changed lines.
(In reply to comment #6) > Committed revision 7310 to trunk. > > Frieder, please confirm that: > > 1) The number of lines that you changed is smaller than 250. yes. > 2) You are the only author of these changed lines. yes. > 3) You apply the EPL to these changed lines. yes. Thank you.
Comment on attachment 189792 [details] pulling method "getResolveChunkSize" up to interface definition Thank *you* ;-)
Available in R20110608-1407