Class CDOCollectionLoadingConfig.ChunkConfig

java.lang.Object
org.eclipse.emf.cdo.common.revision.CDOCollectionLoadingConfig.ChunkConfig
Enclosing class:
CDOCollectionLoadingConfig

public static final class CDOCollectionLoadingConfig.ChunkConfig extends Object
The two independent collection-loading dimensions at one configuration level.
Since:
4.38
Author:
Eike Stepper
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Indicates that all values are loaded.
    static final int
    Indicates that this dimension inherits from the next level.
    static final int
    Indicates that no values are loaded.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChunkConfig(int initialChunkSize, int resolveChunkSize)
    Creates a chunk configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
    Returns the initial-loading size.
    int
    Returns the later-resolution size.
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • INHERIT

      public static final int INHERIT
      Indicates that this dimension inherits from the next level.
      See Also:
    • ALL

      public static final int ALL
      Indicates that all values are loaded.
      See Also:
    • NONE

      public static final int NONE
      Indicates 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 size
      resolveChunkSize - the later-resolution size
      Throws:
      IllegalArgumentException - if either value is below INHERIT
  • Method Details

    • getInitialChunkSize

      public int getInitialChunkSize()
      Returns the initial-loading size.
    • getResolveChunkSize

      public int getResolveChunkSize()
      Returns the later-resolution size.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object