TrippingStrategy

Keeps track of successful calls and failures and determines when the circuit breaker should trip from Closed to Open state

Custom implementations are supported

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def onReset: UIO[Unit]
def shouldTrip(callSuccessful: Boolean): UIO[Boolean]

Called for every successful or failed call

Called for every successful or failed call

Returns:

If the CircuitBreaker should trip because of too many failures