CircuitBreakerRecoveryPolicy

wvlet.airframe.control.CircuitBreakerRecoveryPolicy
See theCircuitBreakerRecoveryPolicy companion object

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

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.

Attributes

def recordFailure: Unit

Called when request is failed.

Called when request is failed.

Attributes

def recordSuccess: Unit

Called when a request succeeds

Called when a request succeeds

Attributes

def reset: Unit

Called when this policy is needed to reset.

Called when this policy is needed to reset.

Attributes