public class JobManager extends AbstractJobManager
isStarted, jobInterceptorNodes, jobMap
构造器和说明 |
---|
JobManager() |
限定符和类型 | 方法和说明 |
---|---|
static JobManager |
getInstance()
获取实例
|
protected void |
jobAddCheckDo(java.lang.String name,
Scheduled scheduled)
任务添加检测
|
void |
jobRemove(java.lang.String name)
任务移除
|
void |
jobStart(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> data)
任务开始
|
void |
jobStop(java.lang.String name)
任务停止
|
void |
setScheduler(org.quartz.Scheduler real) |
void |
start()
开始
|
void |
stop()
停止
|
addJobInterceptor, getJobInterceptors, hasJobInterceptor, isStarted, jobAdd, jobExists, jobGet, jobGetAll, jobWrapDo
public static JobManager getInstance()
public void setScheduler(org.quartz.Scheduler real)
public void jobStart(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> data) throws ScheduledException
IJobManager
public void jobStop(java.lang.String name) throws ScheduledException
IJobManager
public void jobRemove(java.lang.String name) throws ScheduledException
AbstractJobManager
jobRemove
在接口中 IJobManager
jobRemove
在类中 AbstractJobManager
ScheduledException
protected void jobAddCheckDo(java.lang.String name, Scheduled scheduled)
AbstractJobManager
jobAddCheckDo
在类中 AbstractJobManager
public void start() throws java.lang.Throwable
Lifecycle
java.lang.Throwable
public void stop() throws java.lang.Throwable
Lifecycle
java.lang.Throwable