public class JobManager extends AbstractJobManager
isStarted, jobInterceptorNodes, jobMap
构造器和说明 |
---|
JobManager() |
限定符和类型 | 方法和说明 |
---|---|
static JobManager |
getInstance()
获取实例
|
void |
jobStart(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> data)
任务开始
|
void |
jobStop(java.lang.String name)
任务停止
|
protected JobHolder |
jobWrapDo(java.lang.String name,
Scheduled scheduled,
JobHandler handler)
任务包装
|
void |
start()
开始
|
void |
stop()
停止
|
addJobInterceptor, getJobInterceptors, hasJobInterceptor, isStarted, jobAdd, jobAddCheckDo, jobExists, jobGet, jobGetAll, jobRemove
public static JobManager getInstance()
protected JobHolder jobWrapDo(java.lang.String name, Scheduled scheduled, JobHandler handler)
AbstractJobManager
jobWrapDo
在类中 AbstractJobManager
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 start() throws java.lang.Throwable
Lifecycle
java.lang.Throwable
public void stop() throws java.lang.Throwable
Lifecycle
java.lang.Throwable