Package com.aim2be.platform.outbox.redis
Class RedisOutboxProperties.CircuitBreaker
java.lang.Object
com.aim2be.platform.outbox.redis.RedisOutboxProperties.CircuitBreaker
- Enclosing class:
- RedisOutboxProperties
Resilience4j circuit-breaker tuning for the inline hot relay — mirrors
the PG publisher's
im2be.outbox.circuit-breaker.* so a degraded
broker short-circuits the hot path (the cold poller still drains PENDING).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongvoidsetFailureRateThreshold(int failureRateThreshold) voidsetWaitDurationInOpenStateMs(long waitDurationInOpenStateMs)
-
Constructor Details
-
CircuitBreaker
public CircuitBreaker()
-
-
Method Details
-
getFailureRateThreshold
public int getFailureRateThreshold() -
setFailureRateThreshold
public void setFailureRateThreshold(int failureRateThreshold) -
getWaitDurationInOpenStateMs
public long getWaitDurationInOpenStateMs() -
setWaitDurationInOpenStateMs
public void setWaitDurationInOpenStateMs(long waitDurationInOpenStateMs)
-