本文整理汇总了Java中com.sleepycat.persist.evolve.EvolveConfig类的典型用法代码示例。如果您正苦于以下问题:Java EvolveConfig类的具体用法?Java EvolveConfig怎么用?Java EvolveConfig使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
EvolveConfig类属于com.sleepycat.persist.evolve包,在下文中一共展示了EvolveConfig类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: evolve
import com.sleepycat.persist.evolve.EvolveConfig; //导入依赖的package包/类
/**
* @see EntityStore#evolve(EvolveConfig)
*/
public EvolveStats evolve(EvolveConfig config) throws DatabaseException {
return delegate().evolve(config);
}
示例2: evolve
import com.sleepycat.persist.evolve.EvolveConfig; //导入依赖的package包/类
/**
* Performs conversion of unevolved objects in order to reduce lazy
* conversion overhead. Evolution may be performed concurrently with
* normal access to the store.
*
* <p>Conversion is performed one entity class at a time. An entity class
* is converted only if it has {@link Mutations} associated with it via
* {@link StoreConfig#setMutations StoreConfig.setMutations}.</p>
*
* <p>Conversion of an entity class is performed by reading each entity,
* converting it if necessary, and updating it if conversion was performed.
* When all instances of an entity class are converted, references to the
* appropriate {@link Mutations} are deleted. Therefore, if this method is
* called twice successfully without changing class definitions, the second
* call will do nothing.</p>
*
* @see com.sleepycat.persist.evolve Class Evolution
*/
public EvolveStats evolve(EvolveConfig config)
throws DatabaseException {
return store.evolve(config);
}
示例3: evolve
import com.sleepycat.persist.evolve.EvolveConfig; //导入依赖的package包/类
/**
* Performs conversion of unevolved objects in order to reduce lazy
* conversion overhead. Evolution may be performed concurrently with
* normal access to the store.
*
* <p>Conversion is performed one entity class at a time. An entity class
* is converted only if it has {@link Mutations} associated with it via
* {@link StoreConfig#setMutations StoreConfig.setMutations}.</p>
*
* <p>Conversion of an entity class is performed by reading each entity,
* converting it if necessary, and updating it if conversion was performed.
* When all instances of an entity class are converted, references to the
* appropriate {@link Mutations} are deleted. Therefore, if this method is
* called twice successfully without changing class definitions, the second
* call will do nothing.</p>
*
* <!-- begin JE only -->
* @throws OperationFailureException if one of the <a
* href="../je/OperationFailureException.html#writeFailures">Write
* Operation Failures</a> occurs.
*
* @throws EnvironmentFailureException if an unexpected, internal or
* environment-wide failure occurs.
* <!-- end JE only -->
*
* @throws DatabaseException the base class for all BDB exceptions.
*
* @see com.sleepycat.persist.evolve Class Evolution
*/
public EvolveStats evolve(EvolveConfig config)
throws DatabaseException {
return store.evolve(config);
}