Class JudgeProperties

java.lang.Object
dev.dokimos.server.config.JudgeProperties

@Component @ConfigurationProperties(prefix="dokimos.judge") public class JudgeProperties extends Object
Tuning knobs for the background judge worker, bound from the dokimos.judge prefix. pollIntervalMs sets how often the worker polls for claimable jobs, maxAttempts the retry ceiling per job, pageSize the number of items scored per page, and claimTimeoutMs how long a claimed job may run before it is treated as orphaned and requeued.
  • Constructor Details

    • JudgeProperties

      public JudgeProperties()
  • Method Details

    • getPollIntervalMs

      public long getPollIntervalMs()
    • setPollIntervalMs

      public void setPollIntervalMs(long pollIntervalMs)
    • getMaxAttempts

      public int getMaxAttempts()
    • setMaxAttempts

      public void setMaxAttempts(int maxAttempts)
    • getPageSize

      public int getPageSize()
    • setPageSize

      public void setPageSize(int pageSize)
    • getClaimTimeoutMs

      public long getClaimTimeoutMs()
    • setClaimTimeoutMs

      public void setClaimTimeoutMs(long claimTimeoutMs)