Interface ITaskExpiryProcessService

All Known Implementing Classes:
FluentTaskExpiryService, GroovyTaskExpiryService

public interface ITaskExpiryProcessService
The Interface ITaskExpiryProcessService.
  • Method Details

    • expireTask

      String expireTask(Submission task)
      Expire the specified task submission.
      Parameters:
      task - the task submission to expire (required)
      Returns:
      a task expiry info message
      Since:
      5.0.0
    • expireTask

      @Deprecated String expireTask(String taskKey)
      Deprecated.
      Expire the specified task submission.
      Parameters:
      taskKey - the submission's task key (required)
      Returns:
      a task expiry info message
    • getMaxInvocationAttempts

      Integer getMaxInvocationAttempts()
      Gets the max invocation attempts.
      Returns:
      the max invocation attempts
    • setMaxInvocationAttempts

      void setMaxInvocationAttempts(Integer maxInvocationAttempts)
      Sets the max invocation attempts.
      Parameters:
      maxInvocationAttempts - the new max invocation attempts