xxxxxxxxxx
The CircuitBreaker uses a sliding window to store and aggregate the outcome of calls.
You can choose between a count-based sliding window and a time-based sliding window.
The count-based sliding window aggregrates the outcome of the last N calls.