Class FailedJobListener

java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.FailedJobListener
All Implemented Interfaces:
Command<Void>

public class FailedJobListener extends Object implements Command<Void>
Author:
Frederik Heremans, Bernd Ruecker
  • Field Details

    • commandExecutor

      protected CommandExecutor commandExecutor
    • jobFailureCollector

      protected JobFailureCollector jobFailureCollector
    • countRetries

      protected int countRetries
    • totalRetries

      protected int totalRetries
  • Constructor Details

  • Method Details

    • execute

      public Void execute(CommandContext commandContext)
      Specified by:
      execute in interface Command<Void>
    • isJobReacquired

      protected boolean isJobReacquired(CommandContext commandContext)
    • fireHistoricJobFailedEvt

      protected void fireHistoricJobFailedEvt(JobEntity job)
    • logJobFailure

      protected void logJobFailure(CommandContext commandContext)
    • incrementCountRetries

      public void incrementCountRetries()
    • getRetriesLeft

      public int getRetriesLeft()