public class GeneralInstanceCreator extends TriggerInstanceCreator<GeneralInstanceCreator.GeneralInstance>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GeneralInstanceCreator.GeneralInstance |
jobManager| 构造器和说明 |
|---|
GeneralInstanceCreator(DistributedJobManager jobManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
GeneralInstanceCreator.GeneralInstance |
create(cn.ponfee.disjob.core.model.SchedJob job,
cn.ponfee.disjob.core.enums.RunType runType,
long triggerTime)
Creates instance and tasks
|
void |
dispatch(cn.ponfee.disjob.core.model.SchedJob job,
GeneralInstanceCreator.GeneralInstance instance)
Dispatch created task
|
createWithSaveAndDispatch, ofpublic GeneralInstanceCreator(DistributedJobManager jobManager)
public GeneralInstanceCreator.GeneralInstance create(cn.ponfee.disjob.core.model.SchedJob job, cn.ponfee.disjob.core.enums.RunType runType, long triggerTime) throws cn.ponfee.disjob.core.exception.JobException
TriggerInstanceCreatorcreate 在类中 TriggerInstanceCreator<GeneralInstanceCreator.GeneralInstance>job - the sched jobrunType - the run typetriggerTime - the trigger timecn.ponfee.disjob.core.exception.JobException - if split task occur JobExceptionpublic void dispatch(cn.ponfee.disjob.core.model.SchedJob job,
GeneralInstanceCreator.GeneralInstance instance)
TriggerInstanceCreatordispatch 在类中 TriggerInstanceCreator<GeneralInstanceCreator.GeneralInstance>job - the sched jobinstance - the instanceCopyright © 2024. All rights reserved.