当前位置: 首页>>代码示例>>Java>>正文


Java EvolveConfig类代码示例

本文整理汇总了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);
}
 
开发者ID:jronrun,项目名称:benayn,代码行数:7,代码来源:Berkeley.java

示例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);
}
 
开发者ID:nologic,项目名称:nabs,代码行数:24,代码来源:EntityStore.java

示例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);
}
 
开发者ID:prat0318,项目名称:dbms,代码行数:35,代码来源:EntityStore.java


注:本文中的com.sleepycat.persist.evolve.EvolveConfig类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。