Package-level declarations

Types

Link copied to clipboard
internal class CountBasedSlidingWindow(val capacity: Int, val minimumThroughput: Int) : FailureRateSlidingWindow<Boolean>

A sliding window implementation that uses a count-based approach. To simplify the implementation, the window will only record boolean values, where true represents a successful operation and false represents a failed operation.

Link copied to clipboard
data class SlidingWindow(val size: Int, val minimumThroughput: Int, val type: SlidingWindowType)

Represents a sliding window that can be configured in CircuitBreakerConfig.

Link copied to clipboard

Represents all the types of SlidingWindows that can be configured in CircuitBreakerConfig.