public interface SchedTaskMapper
| 限定符和类型 | 方法和说明 |
|---|---|
int |
batchInsert(List<cn.ponfee.disjob.core.model.SchedTask> records) |
int |
batchUpdateWorker(List<cn.ponfee.disjob.core.param.supervisor.UpdateTaskWorkerParam> list)
Update or clear the task worker
|
int |
changeState(long instanceId,
int toState) |
int |
deleteByInstanceId(long instanceId)
Delete the sched task.
|
List<cn.ponfee.disjob.core.model.SchedTask> |
findBaseByInstanceId(long instanceId) |
List<cn.ponfee.disjob.core.model.SchedTask> |
findLargeByInstanceId(long instanceId) |
cn.ponfee.disjob.core.model.SchedTask |
get(long taskId) |
int |
savepoint(long taskId,
String executeSnapshot) |
int |
start(long taskId,
String worker,
Date executeStartTime) |
int |
terminate(long taskId,
String worker,
int toState,
int fromState,
Date executeEndTime,
String errorMsg) |
int |
updateStateByInstanceId(long instanceId,
int toState,
List<Integer> fromStateList,
Date executeEndTime) |
int batchInsert(List<cn.ponfee.disjob.core.model.SchedTask> records)
cn.ponfee.disjob.core.model.SchedTask get(long taskId)
List<cn.ponfee.disjob.core.model.SchedTask> findBaseByInstanceId(long instanceId)
List<cn.ponfee.disjob.core.model.SchedTask> findLargeByInstanceId(long instanceId)
int start(@Param(value="taskId")
long taskId,
@Param(value="worker")
String worker,
@Param(value="executeStartTime")
Date executeStartTime)
int terminate(@Param(value="taskId")
long taskId,
@Param(value="worker")
String worker,
@Param(value="toState")
int toState,
@Param(value="fromState")
int fromState,
@Param(value="executeEndTime")
Date executeEndTime,
@Param(value="errorMsg")
String errorMsg)
int updateStateByInstanceId(@Param(value="instanceId")
long instanceId,
@Param(value="toState")
int toState,
@Param(value="fromStateList")
List<Integer> fromStateList,
@Param(value="executeEndTime")
Date executeEndTime)
int changeState(@Param(value="instanceId")
long instanceId,
@Param(value="toState")
int toState)
int savepoint(@Param(value="taskId")
long taskId,
@Param(value="executeSnapshot")
String executeSnapshot)
int deleteByInstanceId(long instanceId)
instanceId - the instance idint batchUpdateWorker(List<cn.ponfee.disjob.core.param.supervisor.UpdateTaskWorkerParam> list)
list - the update task worker param listCopyright © 2023. All rights reserved.