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 |
isCompleted() |
boolean |
isPaused() |
boolean |
isRunning() |
boolean |
isRunRetry() |
boolean |
isTerminal() |
boolean |
isWorkflow() |
boolean |
isWorkflowLead() |
boolean |
isWorkflowNode() |
void |
markTerminated(RunState runState,
Date runEndTime) |
long |
obtainLockInstanceId() |
int |
obtainRetriedCount() |
long |
obtainRetryOriginalInstanceId() |
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 long obtainRetryOriginalInstanceId()
public boolean isWorkflow()
public boolean isWorkflowNode()
public boolean isWorkflowLead()
public boolean isRunning()
public boolean isPaused()
public boolean isCompleted()
public boolean isTerminal()
public boolean isRunRetry()
public InstanceAttach parseAttach()
public SchedInstance fillUniqueFlag()
public int obtainRetriedCount()
Copyright © 2024. All rights reserved.