SlidingWindow
data class SlidingWindow(val size: Int, val minimumThroughput: Int, val type: SlidingWindowType)(source)
Represents a sliding window that can be configured in CircuitBreakerConfig.
Parameters
size
The size of the sliding window.
minimumThroughput
The minimum number of calls that must be made before the failure rate can be calculated.
type
The type of the sliding window.