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.

Constructors

Link copied to clipboard
constructor(size: Int, minimumThroughput: Int, type: SlidingWindowType)

Properties

Link copied to clipboard
Link copied to clipboard
val size: Int
Link copied to clipboard