public interface SchedInstanceMapper
| 限定符和类型 | 方法和说明 |
|---|---|
int |
changeState(long instanceId,
int toState) |
int |
deleteByInstanceId(long instanceId)
Delete the sched instance.
|
int |
deleteByWnstanceId(long wnstanceId) |
List<cn.ponfee.disjob.core.model.SchedInstance> |
findExpireState(int runState,
long expireTime,
Date updateTime,
int size) |
List<cn.ponfee.disjob.core.model.SchedInstance> |
findUnterminatedRetry(long rnstanceId) |
List<cn.ponfee.disjob.core.model.SchedInstance> |
findWorkflowNode(long wnstanceId) |
cn.ponfee.disjob.core.model.SchedInstance |
get(long instanceId)
Gets sched instance by instance_id
|
cn.ponfee.disjob.core.model.SchedInstance |
getByJobIdAndTriggerTimeAndRunType(long jobId,
long triggerTime,
int runType) |
Long |
getWnstanceId(long instanceId) |
int |
insert(cn.ponfee.disjob.core.model.SchedInstance record) |
cn.ponfee.disjob.core.model.SchedInstance |
lock(long instanceId) |
List<cn.ponfee.disjob.core.model.SchedInstance> |
queryByPnstanceId(long pinstanceId) |
List<Map<String,Object>> |
queryChildCount(List<Long> pinstanceIds) |
long |
queryPageCount(SchedInstancePageRequest request) |
List<cn.ponfee.disjob.core.model.SchedInstance> |
queryPageRecords(SchedInstancePageRequest request) |
int |
renewUpdateTime(long instanceId,
Date updateTime,
int version) |
int |
start(long instanceId,
Date runStartTime) |
int |
terminate(long instanceId,
int toState,
List<Integer> fromStateList,
Date runEndTime) |
int |
updateState(long instanceId,
int toState,
int fromState) |
int insert(cn.ponfee.disjob.core.model.SchedInstance record)
cn.ponfee.disjob.core.model.SchedInstance get(long instanceId)
instanceId - the instance idLong getWnstanceId(long instanceId)
int start(@Param(value="instanceId")
long instanceId,
@Param(value="runStartTime")
Date runStartTime)
int terminate(@Param(value="instanceId")
long instanceId,
@Param(value="toState")
int toState,
@Param(value="fromStateList")
List<Integer> fromStateList,
@Param(value="runEndTime")
Date runEndTime)
int updateState(@Param(value="instanceId")
long instanceId,
@Param(value="toState")
int toState,
@Param(value="fromState")
int fromState)
int changeState(@Param(value="instanceId")
long instanceId,
@Param(value="toState")
int toState)
List<cn.ponfee.disjob.core.model.SchedInstance> findExpireState(@Param(value="runState") int runState, @Param(value="expireTime") long expireTime, @Param(value="updateTime") Date updateTime, @Param(value="size") int size)
List<cn.ponfee.disjob.core.model.SchedInstance> findUnterminatedRetry(long rnstanceId)
List<cn.ponfee.disjob.core.model.SchedInstance> findWorkflowNode(long wnstanceId)
int renewUpdateTime(@Param(value="instanceId")
long instanceId,
@Param(value="updateTime")
Date updateTime,
@Param(value="version")
int version)
cn.ponfee.disjob.core.model.SchedInstance lock(long instanceId)
int deleteByInstanceId(long instanceId)
instanceId - the instance idint deleteByWnstanceId(long wnstanceId)
cn.ponfee.disjob.core.model.SchedInstance getByJobIdAndTriggerTimeAndRunType(@Param(value="jobId")
long jobId,
@Param(value="triggerTime")
long triggerTime,
@Param(value="runType")
int runType)
long queryPageCount(SchedInstancePageRequest request)
List<cn.ponfee.disjob.core.model.SchedInstance> queryPageRecords(SchedInstancePageRequest request)
List<cn.ponfee.disjob.core.model.SchedInstance> queryByPnstanceId(long pinstanceId)
Copyright © 2023. All rights reserved.