类 BatchBuilderImpl
- java.lang.Object
-
- org.hibernate.engine.jdbc.batch.internal.BatchBuilderImpl
-
- 所有已实现的接口:
Serializable,BatchBuilderMXBean,BatchBuilder,Service,Configurable,Manageable
public class BatchBuilderImpl extends Object implements BatchBuilder, Configurable, Manageable, BatchBuilderMXBean
A builder forBatchinstances.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 BatchBuilderImpl()Constructs a BatchBuilderImplBatchBuilderImpl(int jdbcBatchSize)Constructs a BatchBuilderImpl
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BatchbuildBatch(BatchKey key, JdbcCoordinator jdbcCoordinator)Build a batch.voidconfigure(Map configurationValues)Configure the service.intgetJdbcBatchSize()voidsetJdbcBatchSize(int jdbcBatchSize)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.service.spi.Manageable
getManagementBean, getManagementDomain, getManagementServiceType
-
-
-
-
方法详细资料
-
configure
public void configure(Map configurationValues)
从接口复制的说明:ConfigurableConfigure the service.- 指定者:
configure在接口中Configurable- 参数:
configurationValues- The configuration properties.
-
getJdbcBatchSize
public int getJdbcBatchSize()
- 指定者:
getJdbcBatchSize在接口中BatchBuilderMXBean
-
setJdbcBatchSize
public void setJdbcBatchSize(int jdbcBatchSize)
- 指定者:
setJdbcBatchSize在接口中BatchBuilderMXBean
-
buildBatch
public Batch buildBatch(BatchKey key, JdbcCoordinator jdbcCoordinator)
从接口复制的说明:BatchBuilderBuild a batch.- 指定者:
buildBatch在接口中BatchBuilder- 参数:
key- Value to uniquely identify a batchjdbcCoordinator- The JDBC coordinator with which to coordinate efforts- 返回:
- The built batch
-
-