permittedNumberOfCallsInHalfOpenState

Configures the number of calls that are allowed to be made in the HalfOpen state. If this number is exceeded, further calls will be rejected. If maxWaitDurationInHalfOpenState is set to Duration.ZERO, the circuit breaker will wait indefinitely in the HalfOpen state until the permitted number of calls is reached.