public class SchedInstance extends BaseEntity
| 构造器和说明 |
|---|
SchedInstance() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SchedInstance |
create(long instanceId,
long jobId,
RunType runType,
long triggerTime,
int retriedCount)
Creates sched instance
|
SchedInstance |
fillUniqueFlag() |
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, setUpdatedAttoJson, toStringpublic static SchedInstance create(long instanceId, long jobId, RunType runType, long triggerTime, int retriedCount)
instanceId - the instance idjobId - the job idrunType - the run typetriggerTime - the trigger timeretriedCount - the retried countpublic long obtainLockInstanceId()
public long obtainRnstanceId()
public boolean isWorkflow()
public boolean isWorkflowNode()
public boolean isWorkflowLead()
public InstanceAttach parseAttach()
public SchedInstance fillUniqueFlag()
public int obtainRetriedCount()
Copyright © 2024. All rights reserved.