A safe interface for accessing CircuitBreaker states when handling events.
An exception thrown when the circuit breaker is open.
A Ticker implementation thta can be incremanted for test
A classification of the code execution result
Ticker is for measuring the elapsed time.
Retry logic implementation helper