Package org.camunda.bpm.engine.impl.cmd
Class JobRetryCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.JobRetryCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected Throwable
exception
protected String
jobId
protected static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description JobRetryCmd(String jobId, Throwable exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decrementRetries(JobEntity job)
protected String
getExceptionStacktrace()
protected JobEntity
getJob()
protected void
logException(JobEntity job)
protected void
notifyAcquisition(CommandContext commandContext)
protected boolean
shouldDecrementRetriesFor(Throwable t)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
execute, isRetryable
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
jobId
protected String jobId
-
exception
protected Throwable exception
-
-
Method Detail
-
getJob
protected JobEntity getJob()
-
logException
protected void logException(JobEntity job)
-
decrementRetries
protected void decrementRetries(JobEntity job)
-
getExceptionStacktrace
protected String getExceptionStacktrace()
-
shouldDecrementRetriesFor
protected boolean shouldDecrementRetriesFor(Throwable t)
-
notifyAcquisition
protected void notifyAcquisition(CommandContext commandContext)
-
-