Package com.aim2be.platform.outbox.redis
Class RedisOutboxProperties.Retention
java.lang.Object
com.aim2be.platform.outbox.redis.RedisOutboxProperties.Retention
- Enclosing class:
- RedisOutboxProperties
SENT-entry retention cleanup configuration (refinement #9). A single Hash
accumulating SENT entries forever would OOM under
noeviction;
this worker HDELs SENT entries older than sentTtlMs. FAILED
entries are NEVER purged automatically — only after an operator ack
(refinement #3).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlonglongbooleanvoidsetBatchSize(int batchSize) voidsetEnabled(boolean enabled) voidsetIntervalMs(long intervalMs) voidsetSentTtlMs(long sentTtlMs)
-
Constructor Details
-
Retention
public Retention()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getIntervalMs
public long getIntervalMs() -
setIntervalMs
public void setIntervalMs(long intervalMs) -
getSentTtlMs
public long getSentTtlMs() -
setSentTtlMs
public void setSentTtlMs(long sentTtlMs) -
getBatchSize
public int getBatchSize() -
setBatchSize
public void setBatchSize(int batchSize)
-