public class RunnerPool extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RunnerPool.RunningJobManager
用来管理正在执行的任务
|
Constructor and Description |
---|
RunnerPool() |
Modifier and Type | Method and Description |
---|---|
void |
execute(com.lts.job.common.domain.Job job,
RunnerCallback callback) |
int |
getAvailablePoolSize()
得到当前可用的线程数
|
int |
getMaximumPoolSize()
得到最大线程数
|
public void execute(com.lts.job.common.domain.Job job, RunnerCallback callback) throws NoAvailableJobRunnerException
NoAvailableJobRunnerException
public int getAvailablePoolSize()
public int getMaximumPoolSize()
Copyright © 2014. All Rights Reserved.