public interface SchedJobMapper
| 限定符和类型 | 方法和说明 |
|---|---|
int |
deleteByJobId(long jobId)
Delete the job.
|
int |
disable(cn.ponfee.disjob.core.model.SchedJob job)
Disable the job.
|
List<cn.ponfee.disjob.core.model.SchedJob> |
findBeTriggering(long maxNextTriggerTime,
int size)
Finds job witch will be triggering
|
List<cn.ponfee.disjob.core.model.SchedJob> |
findByJobIds(List<Long> jobIds) |
cn.ponfee.disjob.core.model.SchedJob |
getByJobId(long jobId)
Gets sched job by job_id
|
int |
insert(cn.ponfee.disjob.core.model.SchedJob record) |
long |
queryPageCount(cn.ponfee.disjob.core.api.supervisor.request.SchedJobPageRequest request) |
List<cn.ponfee.disjob.core.model.SchedJob> |
queryPageRecords(cn.ponfee.disjob.core.api.supervisor.request.SchedJobPageRequest request) |
List<cn.ponfee.disjob.core.model.SchedJob> |
testFindByJobIds(List<Long> jobIds) |
List<Long> |
testListLimit(int limit) |
int |
testUpdateRemark(Long jobId,
String remark) |
int |
updateByJobId(cn.ponfee.disjob.core.model.SchedJob record) |
int |
updateNextScanTime(cn.ponfee.disjob.core.model.SchedJob schedJob) |
int |
updateNextTriggerTime(cn.ponfee.disjob.core.model.SchedJob job)
Update the job next trigger time.
|
int |
updateState(long jobId,
int toState,
int fromState)
Updates job state
|
int testUpdateRemark(@Param(value="jobId")
Long jobId,
@Param(value="remark")
String remark)
int insert(cn.ponfee.disjob.core.model.SchedJob record)
int updateByJobId(cn.ponfee.disjob.core.model.SchedJob record)
cn.ponfee.disjob.core.model.SchedJob getByJobId(long jobId)
jobId - the job idList<cn.ponfee.disjob.core.model.SchedJob> findBeTriggering(@Param(value="maxNextTriggerTime") long maxNextTriggerTime, @Param(value="size") int size)
maxNextTriggerTime - the max next trigger timesize - the sizeint updateNextScanTime(cn.ponfee.disjob.core.model.SchedJob schedJob)
int disable(cn.ponfee.disjob.core.model.SchedJob job)
job - the jobint updateNextTriggerTime(cn.ponfee.disjob.core.model.SchedJob job)
job - the jobint updateState(@Param(value="jobId")
long jobId,
@Param(value="toState")
int toState,
@Param(value="fromState")
int fromState)
jobId - the job idtoState - the target statefromState - the source stateint deleteByJobId(long jobId)
jobId - the job idlong queryPageCount(cn.ponfee.disjob.core.api.supervisor.request.SchedJobPageRequest request)
List<cn.ponfee.disjob.core.model.SchedJob> queryPageRecords(cn.ponfee.disjob.core.api.supervisor.request.SchedJobPageRequest request)
Copyright © 2023. All rights reserved.