Interface ExternalWorkerJobFailureBuilder


  • public interface ExternalWorkerJobFailureBuilder
    Author:
    Filip Hrisafov
    • Method Detail

      • retries

        ExternalWorkerJobFailureBuilder retries​(int retries)
        The number of new retries that should be set for the job. If not set then the retries count would be decreased by 1. If the current retries is already 1, the job will be moved to the deadletter job table.
      • retryTimeout

        ExternalWorkerJobFailureBuilder retryTimeout​(Duration retryTimeout)
        The amount of time to wait before making the job available for a retry. If nothing set then the job would immediately be available for a retry.
      • fail

        void fail()
        Perform the logic for failing a job.