public class SchedInstance extends BaseEntity
| 构造器和说明 |
|---|
SchedInstance() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SchedInstance |
create(long instanceId,
long jobId,
RunType runType,
long triggerTime,
int retriedCount,
Date date)
Creates sched instance
|
boolean |
isWorkflow() |
boolean |
isWorkflowLead() |
boolean |
isWorkflowNode() |
void |
markTerminated(RunState runState,
Date runEndTime) |
long |
obtainLockInstanceId() |
int |
obtainRetriedCount() |
long |
obtainRnstanceId()
Obtain root instance id
|
InstanceAttach |
parseAttach() |
getCreatedAt, getId, getUpdatedAt, setCreatedAt, setId, setUpdatedAttoStringpublic static SchedInstance create(long instanceId, long jobId, RunType runType, long triggerTime, int retriedCount, Date date)
instanceId - the instance idjobId - the job idrunType - the run typetriggerTime - the trigger timeretriedCount - the retried countdate - the creates datepublic long obtainLockInstanceId()
public long obtainRnstanceId()
public boolean isWorkflow()
public boolean isWorkflowNode()
public boolean isWorkflowLead()
public InstanceAttach parseAttach()
public int obtainRetriedCount()
Copyright © 2024. All rights reserved.