Package org.camunda.bpm.engine.impl.cmd
Class DefaultJobRetryCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.JobRetryCmd
org.camunda.bpm.engine.impl.cmd.DefaultJobRetryCmd
- Author:
- Roman Smirnov
-
Field Summary
FieldsFields inherited from class org.camunda.bpm.engine.impl.cmd.JobRetryCmd
exception, jobId, serialVersionUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(CommandContext commandContext) protected voidexecuteCustomStrategy(CommandContext commandContext, JobEntity job, ActivityImpl activity) protected voidexecuteStandardStrategy(CommandContext commandContext) protected ExecutionEntityfetchExecutionEntity(String executionId) protected ActivityImplgetCurrentActivity(CommandContext commandContext, JobEntity job) protected DurationHelpergetDurationHelper(String failedJobRetryTimeCycle) protected FailedJobRetryConfigurationgetFailedJobRetryConfiguration(JobEntity job, ActivityImpl activity) protected StringgetFailedJobRetryTimeCycle(JobEntity job, Expression expression) protected voidinitializeRetries(JobEntity job, int retries) protected booleanMethods inherited from class org.camunda.bpm.engine.impl.cmd.JobRetryCmd
decrementRetries, getExceptionStacktrace, getJob, logException, notifyAcquisition, shouldDecrementRetriesForMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Field Details
-
SUPPORTED_TYPES
-
-
Constructor Details
-
DefaultJobRetryCmd
-
-
Method Details
-
execute
-
executeStandardStrategy
-
executeCustomStrategy
protected void executeCustomStrategy(CommandContext commandContext, JobEntity job, ActivityImpl activity) throws Exception - Throws:
Exception
-
getCurrentActivity
-
fetchExecutionEntity
-
getFailedJobRetryConfiguration
protected FailedJobRetryConfiguration getFailedJobRetryConfiguration(JobEntity job, ActivityImpl activity) -
getFailedJobRetryTimeCycle
-
getDurationHelper
- Throws:
Exception
-
isFirstJobExecution
-
initializeRetries
-