Package org.eclipse.emf.cdo.session
Interface CDOCollectionLoadingPolicy
- 
- All Superinterfaces:
- CDOListResolver
 
 public interface CDOCollectionLoadingPolicy extends CDOListResolver A strategy that specifies which list elements must be present (loaded) in aCDOIDlist of arevisionwhen a certain list index is accessed. Implementations of this interface can control the exact characteristics of a certain partial collection loading strategy.- Since:
- 2.0
- Author:
- Simon McDuff
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetInitialChunkSize()Returns the maximum number of CDOIDs to be loaded for collections when the owning object is loaded initially, i.e.intgetResolveChunkSize()Returns the maximum number of CDOIDs to be loaded for collections when the owning object is already loaded but the actually accessed element is still aproxy.CDOSessiongetSession()voidsetSession(CDOSession session)- 
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDOListResolverresolveAllProxies, resolveProxy
 
- 
 
- 
- 
- 
Method Detail- 
getSessionCDOSession getSession() - Since:
- 4.0
 
 - 
setSessionvoid setSession(CDOSession session) - Since:
- 4.0
 
 - 
getInitialChunkSizeint getInitialChunkSize() Returns the maximum number of CDOIDs to be loaded for collections when the owning object is loaded initially, i.e. before any of the collection elements is actually accessed. The remaining elements will be initialized asproxies.
 - 
getResolveChunkSizeint getResolveChunkSize() Returns the maximum number of CDOIDs to be loaded for collections when the owning object is already loaded but the actually accessed element is still aproxy.- Since:
- 4.0
 
 
- 
 
-