|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CDOCollectionLoadingPolicy
A strategy that specifies which list elememts 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.
| Field Summary | |
|---|---|
static CDOCollectionLoadingPolicy |
DEFAULT
A default collection loading strategy that leads to complete loading of CDOID lists before any of
their elements is accessed. |
| Method Summary | |
|---|---|
int |
getInitialChunkSize()
Returns the maximum number of CDOIDs to be loaded for collections when an object is loaded, i.e. |
java.lang.Object |
resolveProxy(CDORevisionManager revisionManager,
CDORevision revision,
org.eclipse.emf.ecore.EStructuralFeature feature,
int accessIndex,
int serverIndex)
Defines a strategy to be used when the collection needs to resolve one element. |
| Field Detail |
|---|
static final CDOCollectionLoadingPolicy DEFAULT
CDOID lists before any of
their elements is accessed.
| Method Detail |
|---|
int getInitialChunkSize()
java.lang.Object resolveProxy(CDORevisionManager revisionManager,
CDORevision revision,
org.eclipse.emf.ecore.EStructuralFeature feature,
int accessIndex,
int serverIndex)
CDORevisionManager.loadChunkByRange(CDORevision, EStructuralFeature, int, int, int, int) should be used to
resolve them.
|
Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||