Class CDOCollectionLoadingConfig.ChunkConfig
java.lang.Object
org.eclipse.emf.cdo.common.revision.CDOCollectionLoadingConfig.ChunkConfig
- Enclosing class:
CDOCollectionLoadingConfig
The two independent collection-loading dimensions at one configuration level.
- Since:
- 4.38
- Author:
- Eike Stepper
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChunkConfig(int initialChunkSize, int resolveChunkSize) Creates a chunk configuration. -
Method Summary
-
Field Details
-
INHERIT
public static final int INHERITIndicates that this dimension inherits from the next level.- See Also:
-
ALL
public static final int ALLIndicates that all values are loaded.- See Also:
-
NONE
public static final int NONEIndicates that no values are loaded.- See Also:
-
-
Constructor Details
-
ChunkConfig
public ChunkConfig(int initialChunkSize, int resolveChunkSize) Creates a chunk configuration.- Parameters:
initialChunkSize- the initial-loading sizeresolveChunkSize- the later-resolution size- Throws:
IllegalArgumentException- if either value is belowINHERIT
-
-
Method Details
-
getInitialChunkSize
public int getInitialChunkSize()Returns the initial-loading size. -
getResolveChunkSize
public int getResolveChunkSize()Returns the later-resolution size. -
hashCode
public int hashCode() -
equals
-
toString
-