Package com.aim2be.platform.outbox.redis
Class RedisOutboxProperties.Durability
java.lang.Object
com.aim2be.platform.outbox.redis.RedisOutboxProperties.Durability
- Enclosing class:
- RedisOutboxProperties
Durability-SLA enforcement configuration (refinement #7). The single
load-bearing constraint: under
noeviction an OOM during a write
becomes a fail-closed error (correct only when mint fails-closed + alerts),
and appendonly=yes + a real appendfsync policy bound the
crash-loss window. A startup bean AND a periodic health check assert these.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanbooleanvoidsetCheckIntervalMs(long checkIntervalMs) voidsetEnforcement(RedisOutboxProperties.EnforcementMode enforcement) voidsetFsyncBarrierEnabled(boolean fsyncBarrierEnabled) voidsetRequireAlwaysFsync(boolean requireAlwaysFsync)
-
Constructor Details
-
Durability
public Durability()
-
-
Method Details
-
getEnforcement
-
setEnforcement
-
getCheckIntervalMs
public long getCheckIntervalMs() -
setCheckIntervalMs
public void setCheckIntervalMs(long checkIntervalMs) -
isRequireAlwaysFsync
public boolean isRequireAlwaysFsync() -
setRequireAlwaysFsync
public void setRequireAlwaysFsync(boolean requireAlwaysFsync) -
isFsyncBarrierEnabled
public boolean isFsyncBarrierEnabled() -
setFsyncBarrierEnabled
public void setFsyncBarrierEnabled(boolean fsyncBarrierEnabled)
-