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 Throwableexceptionprotected StringjobIdprotected static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description JobRetryCmd(String jobId, Throwable exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddecrementRetries(JobEntity job)protected StringgetExceptionStacktrace()protected JobEntitygetJob()protected voidlogException(JobEntity job)protected voidnotifyAcquisition(CommandContext commandContext)protected booleanshouldDecrementRetriesFor(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)
-
-