Class ResendSchedulerConfigProperties

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

@Configuration @ConfigurationProperties(prefix="jeap.errorhandling.resend.scheduler") public class ResendSchedulerConfigProperties extends Object
Configuration for the automatic resend scheduler
  • Constructor Details

    • ResendSchedulerConfigProperties

      public ResendSchedulerConfigProperties()
  • Method Details

    • getMaxConsecutiveChunks

      public int getMaxConsecutiveChunks()
      Maximal number of chunks to resend in one run
    • getMaxResendChunkSize

      public int getMaxResendChunkSize()
      Maximal of events to send in one chunk
    • getCronExpression

      public String getCronExpression()
      How often to run the scheduler? Must be a cron expression, see CronExpression
    • getLockAtLeast

      public Duration getLockAtLeast()
      Minimal time to keep a lock at this job, see SchedulerLock
    • getLockAtMost

      public Duration getLockAtMost()
      Maximal time to keep a lock at this job, see SchedulerLock
    • setMaxConsecutiveChunks

      public void setMaxConsecutiveChunks(int maxConsecutiveChunks)
      Maximal number of chunks to resend in one run
    • setMaxResendChunkSize

      public void setMaxResendChunkSize(int maxResendChunkSize)
      Maximal of events to send in one chunk
    • setCronExpression

      public void setCronExpression(String cronExpression)
      How often to run the scheduler? Must be a cron expression, see CronExpression
    • setLockAtLeast

      public void setLockAtLeast(Duration lockAtLeast)
      Minimal time to keep a lock at this job, see SchedulerLock
    • setLockAtMost

      public void setLockAtMost(Duration lockAtMost)
      Maximal time to keep a lock at this job, see SchedulerLock
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object