Class ScheduledResendService

java.lang.Object
ch.admin.bit.jeap.errorhandling.domain.resend.scheduler.ScheduledResendService

@Component @Transactional public class ScheduledResendService extends Object
  • Constructor Details

  • Method Details

    • scheduleResend

      public void scheduleResend(UUID errorId, ZonedDateTime resendAt)
      Schedule the resending of the event that caused the error identified by the given id at the time given .
    • getNextResendTimestamp

      @Transactional(readOnly=true) public ZonedDateTime getNextResendTimestamp(UUID errrorId)
    • cancelScheduledResends

      public void cancelScheduledResends(Error error)
    • setResent

      public void setResent(ScheduledResend scheduledResend)