Package org.eclipse.emf.cdo.session
Schnittstelle CDOCollectionLoadingPolicy
- Alle Superschnittstellen:
CDOListResolver
A strategy that specifies which list elements must be present (loaded) in a
CDOID
list of a
revision
when a certain list index is accessed. Implementations of this interface can control the
exact characteristics of a certain partial collection loading strategy.- Seit:
- 2.0
- Autor:
- Simon McDuff
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Returns the maximum number of CDOIDs to be loaded for collections when the owning object is loaded initially, i.e.int
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
.void
setSession
(CDOSession session) Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDOListResolver
resolveAllProxies, resolveProxy
-
Methodendetails
-
getSession
CDOSession getSession()- Seit:
- 4.0
-
setSession
- Seit:
- 4.0
-
getInitialChunkSize
int 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
. -
getResolveChunkSize
int 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
.- Seit:
- 4.0
-