CircuitBreakerRuleResponse

data class CircuitBreakerRuleResponse(val acceptRetryAfter: Boolean? = null, val failureCondition: CircuitBreakerFailureConditionResponse? = null, val name: String? = null, val tripDuration: String? = null)

Rule configuration to trip the backend.

Constructors

Link copied to clipboard
constructor(acceptRetryAfter: Boolean? = null, failureCondition: CircuitBreakerFailureConditionResponse? = null, name: String? = null, tripDuration: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

flag to accept Retry-After header from the backend.

Link copied to clipboard

The conditions for tripping the circuit breaker.

Link copied to clipboard
val name: String? = null

The rule name.

Link copied to clipboard
val tripDuration: String? = null

The duration for which the circuit will be tripped.