org.camunda.bpm.engine.impl.cmd
Class JobRetryCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.JobRetryCmd
All Implemented Interfaces:
Command<Object>
Direct Known Subclasses:
DefaultJobRetryCmd

public abstract class JobRetryCmd
extends Object
implements Command<Object>

Author:
Roman Smirnov

Field Summary
protected  Throwable exception
           
protected  String jobId
           
protected static long serialVersionUID
           
 
Constructor Summary
JobRetryCmd(String jobId, Throwable exception)
           
 
Method Summary
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
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
See Also:
Constant Field Values

jobId

protected String jobId

exception

protected Throwable exception
Constructor Detail

JobRetryCmd

public JobRetryCmd(String jobId,
                   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)


Copyright © 2018 camunda services GmbH. All rights reserved.