| 程序包 | 说明 |
|---|---|
| com.bstek.urule.runtime |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BatchSessionImpl |
| 限定符和类型 | 方法和说明 |
|---|---|
static BatchSession |
KnowledgeSessionFactory.newBatchSession(KnowledgePackage knowledgePackage)
创建一个用于批处理的BatchSession对象,这里默认将开启10个普通的线程池来运行提交的批处理任务,默认将每100个任务放在一个线程里处理
|
static BatchSession |
KnowledgeSessionFactory.newBatchSession(KnowledgePackage[] knowledgePackages)
创建一个用于批处理的BatchSession对象,这里默认将开启10个普通的线程池来运行提交的批处理任务,默认将每100个任务放在一个线程里处理
|
static BatchSession |
KnowledgeSessionFactory.newBatchSession(KnowledgePackage[] knowledgePackages,
int threadSize,
int batchSize)
创建一个用于批处理的BatchSession对象,第二个参数来指定线程池中可用线程个数,第三个参数用来决定单个线程处理的任务数
|
static BatchSession |
KnowledgeSessionFactory.newBatchSession(KnowledgePackage knowledgePackage,
int threadSize,
int batchSize)
创建一个用于批处理的BatchSession对象,第二个参数来指定线程池中可用线程个数,第三个参数用来决定单个线程处理的任务数
|
static BatchSession |
KnowledgeSessionFactory.newBatchSessionByBatchSize(KnowledgePackage[] knowledgePackages,
int batchSize)
创建一个用于批处理的BatchSession对象,这里默认将开启10个普通的线程池来运行提交的批处理任务,第二个参数用来决定单个线程处理的任务数
|
static BatchSession |
KnowledgeSessionFactory.newBatchSessionByBatchSize(KnowledgePackage knowledgePackage,
int batchSize)
创建一个用于批处理的BatchSession对象,这里默认将开启10个普通的线程池来运行提交的批处理任务,第二个参数用来决定单个线程处理的任务数
|
static BatchSession |
KnowledgeSessionFactory.newBatchSessionByThreadSize(KnowledgePackage[] knowledgePackages,
int threadSize)
创建一个用于批处理的BatchSession对象,第二个参数来指定线程池中可用线程个数,默认将每100个任务放在一个线程里处理
|
static BatchSession |
KnowledgeSessionFactory.newBatchSessionByThreadSize(KnowledgePackage knowledgePackage,
int threadSize)
创建一个用于批处理的BatchSession对象,第二个参数来指定线程池中可用线程个数,默认将每100个任务放在一个线程里处理
|
Copyright © 2018 Bstek. All rights reserved.