Package dev.dokimos.server.config
Class TraceProperties
java.lang.Object
dev.dokimos.server.config.TraceProperties
@Component
@ConfigurationProperties(prefix="dokimos.trace")
public class TraceProperties
extends Object
Tuning knobs for trace ingestion and online evaluation, bound from the
dokimos.trace prefix.
retentionDays sets how long an ingested trace is kept before the sweeper deletes it.
sweepIntervalMs sets how often the retention sweeper runs. The eval.* knobs mirror the
judge worker: pollIntervalMs between polls, maxAttempts retry ceiling per job, and
claimTimeoutMs before a claimed job is treated as orphaned and requeued.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classOnline trace eval worker knobs, bound fromdokimos.trace.eval. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEval()intlongvoidsetRetentionDays(int retentionDays) voidsetSweepIntervalMs(long sweepIntervalMs)
-
Constructor Details
-
TraceProperties
public TraceProperties()
-
-
Method Details
-
getRetentionDays
public int getRetentionDays() -
setRetentionDays
public void setRetentionDays(int retentionDays) -
getSweepIntervalMs
public long getSweepIntervalMs() -
setSweepIntervalMs
public void setSweepIntervalMs(long sweepIntervalMs) -
getEval
-