Class RedisOutboxProperties.Durability

java.lang.Object
com.aim2be.platform.outbox.redis.RedisOutboxProperties.Durability
Enclosing class:
RedisOutboxProperties

public static class RedisOutboxProperties.Durability extends Object
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 Details

    • Durability

      public Durability()
  • Method Details

    • getEnforcement

      public RedisOutboxProperties.EnforcementMode getEnforcement()
    • setEnforcement

      public void setEnforcement(RedisOutboxProperties.EnforcementMode enforcement)
    • 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)