Class EvolveConfig

java.lang.Object
com.sleepycat.persist.evolve.EvolveConfig
All Implemented Interfaces:
Cloneable

public class EvolveConfig extends Object implements Cloneable
Configuration properties for eager conversion of unevolved objects. This configuration is used with EntityStore.evolve.
See Also:
  • Constructor Details

    • EvolveConfig

      public EvolveConfig()
      Creates an evolve configuration with default properties.
  • Method Details

    • cloneConfig

      public EvolveConfig cloneConfig()
      Deprecated.
      As of JE 4.0.13, replaced by clone().

      Returns a shallow copy of the configuration.
    • clone

      public EvolveConfig clone()
      Returns a shallow copy of the configuration.
      Overrides:
      clone in class Object
    • addClassToEvolve

      public EvolveConfig addClassToEvolve(String entityClass)
      Adds an entity class for a primary index to be converted. If no classes are added, all indexes that require evolution will be converted.
    • getClassesToEvolve

      public Set<String> getClassesToEvolve()
      Returns an unmodifiable set of the entity classes to be evolved.
    • setEvolveListener

      public EvolveConfig setEvolveListener(EvolveListener listener)
      Sets a progress listener that is notified each time an entity is read.
    • getEvolveListener

      public EvolveListener getEvolveListener()
      Returns the progress listener that is notified each time an entity is read.