|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.cmd.JobRetryCmd
org.camunda.bpm.engine.impl.cmd.FoxJobRetryCmd
public class FoxJobRetryCmd
| Field Summary | |
|---|---|
protected static Logger |
log
|
| Fields inherited from class org.camunda.bpm.engine.impl.cmd.JobRetryCmd |
|---|
exception, jobId, serialVersionUID |
| Constructor Summary | |
|---|---|
FoxJobRetryCmd(String jobId,
Throwable exception)
|
|
| Method Summary | |
|---|---|
Object |
execute(CommandContext commandContext)
|
protected void |
executeCustomStrategy(CommandContext commandContext,
JobEntity job,
ActivityImpl activity)
|
protected void |
executeStandardStrategy(CommandContext commandContext)
|
protected ExecutionEntity |
fetchExecutionEntity(String executionId)
|
protected ActivityImpl |
getCurrentActivity(CommandContext commandContext,
JobEntity job)
|
protected DurationHelper |
getDurationHelper(String failedJobRetryTimeCycle)
|
protected String |
getFailedJobRetryTimeCycle(ActivityImpl activity)
|
protected void |
initializeRetries(JobEntity job,
String failedJobRetryTimeCycle,
DurationHelper durationHelper)
|
protected boolean |
isFirstJobExecution(JobEntity job)
|
protected void |
setLockExpirationTime(JobEntity job,
String failedJobRetryTimeCycle,
DurationHelper durationHelper)
|
| Methods inherited from class org.camunda.bpm.engine.impl.cmd.JobRetryCmd |
|---|
decrementRetries, getExceptionStacktrace, getJob, logException, notifyAcquisition, shouldDecrementRetriesFor, unlockJob |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger log
| Constructor Detail |
|---|
public FoxJobRetryCmd(String jobId,
Throwable exception)
| Method Detail |
|---|
public Object execute(CommandContext commandContext)
protected void executeStandardStrategy(CommandContext commandContext)
protected void executeCustomStrategy(CommandContext commandContext,
JobEntity job,
ActivityImpl activity)
throws Exception
Exception
protected ActivityImpl getCurrentActivity(CommandContext commandContext,
JobEntity job)
protected ExecutionEntity fetchExecutionEntity(String executionId)
protected String getFailedJobRetryTimeCycle(ActivityImpl activity)
protected DurationHelper getDurationHelper(String failedJobRetryTimeCycle)
throws Exception
Exception
protected void setLockExpirationTime(JobEntity job,
String failedJobRetryTimeCycle,
DurationHelper durationHelper)
protected boolean isFirstJobExecution(JobEntity job)
protected void initializeRetries(JobEntity job,
String failedJobRetryTimeCycle,
DurationHelper durationHelper)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||