CircuitBreakerRecoveryPolicy

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def canRecover: Boolean

Check if CircuitBreaker can recover from HALF_OPEN to CLOSE.

Check if CircuitBreaker can recover from HALF_OPEN to CLOSE.

def recordFailure: Unit

Called when request is failed.

Called when request is failed.

def recordSuccess: Unit

Called when a request succeeds

Called when a request succeeds

def reset: Unit

Called when this policy is needed to reset.

Called when this policy is needed to reset.