Class JobRetryCmd

  • All Implemented Interfaces:
    Command<java.lang.Object>
    Direct Known Subclasses:
    DefaultJobRetryCmd

    public abstract class JobRetryCmd
    extends java.lang.Object
    implements Command<java.lang.Object>
    Author:
    Roman Smirnov
    • Field Detail

      • jobId

        protected java.lang.String jobId
      • exception

        protected java.lang.Throwable exception
    • Constructor Detail

      • JobRetryCmd

        public JobRetryCmd​(java.lang.String jobId,
                           java.lang.Throwable exception)
    • Method Detail

      • logException

        protected void logException​(JobEntity job)
      • decrementRetries

        protected void decrementRetries​(JobEntity job)
      • getExceptionStacktrace

        protected java.lang.String getExceptionStacktrace()
      • shouldDecrementRetriesFor

        protected boolean shouldDecrementRetriesFor​(java.lang.Throwable t)
      • notifyAcquisition

        protected void notifyAcquisition​(CommandContext commandContext)