Interface UpdateTimeoutJobCommandStep1

All Known Implementing Classes:
JobUpdateTimeoutCommandImpl

public interface UpdateTimeoutJobCommandStep1
  • Method Details

    • timeout

      Set the timeout of this job.

      Timeout value in millis is used to calculate a new job deadline. This will happen when the command is processed. The timeout value will be added to the current time then.

      Parameters:
      timeout - the timeout of this job
      Returns:
      the builder for this command. Call
      invalid reference
      #send()
      to complete the command and send it to the broker.
    • timeout

      Set the timeout of this job.

      Timeout value passed as a duration is used to calculate a new job deadline. This will happen when the command is processed. The timeout value will be added to the current time then.

      Parameters:
      timeout - the time as duration (e.g. "Duration.ofMinutes(5)")
      Returns:
      the builder for this command. Call
      invalid reference
      #send()
      to complete the command and send it to the broker.