public class SchedJob extends BaseEntity
| 构造器和说明 |
|---|
SchedJob() |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
computeRetryTriggerTime(int failCount)
Returns the retry trigger time
|
int |
incrementAndGetScanFailedCount() |
boolean |
isDisabled() |
boolean |
isEnabled() |
boolean |
isFixedTriggerType() |
Long |
obtainNextTriggerTime() |
boolean |
requiredUpdateExecutor() |
boolean |
requiredUpdateTrigger(Integer curTriggerType,
String curTriggerValue) |
boolean |
retryable(RunState runState,
int retriedCount) |
void |
verifyForAdd(int maximumJobRetryCount) |
void |
verifyForUpdate(int maximumJobRetryCount) |
getCreatedAt, getId, getUpdatedAt, setCreatedAt, setId, setUpdatedAttoJson, toStringpublic boolean isEnabled()
public boolean isDisabled()
public boolean isFixedTriggerType()
public Long obtainNextTriggerTime()
public void verifyForAdd(int maximumJobRetryCount)
public void verifyForUpdate(int maximumJobRetryCount)
public boolean requiredUpdateExecutor()
public boolean requiredUpdateTrigger(Integer curTriggerType, String curTriggerValue)
public int incrementAndGetScanFailedCount()
public boolean retryable(RunState runState, int retriedCount)
public long computeRetryTriggerTime(int failCount)
failCount - the failure timesCopyright © 2024. All rights reserved.