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