Click or drag to resize
Akka.NETCircuitBreaker Methods

The CircuitBreaker type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreate
Create a new CircuitBreaker
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnClose
Adds a callback to execute when circuit breaker state closes
Public methodOnHalfOpen
Adds a callback to execute when circuit breaker transitions to half-open
Public methodOnOpen
Adds a callback to execute when circuit breaker opens
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithCircuitBreaker(FuncTask)
Wraps invocation of asynchronous calls that need to be protected
Public methodWithCircuitBreakerT(FuncTaskT)
Wraps invocation of asynchronous calls that need to be protected
Public methodWithSyncCircuitBreaker(Action)
The failure will be recorded farther down.
Public methodWithSyncCircuitBreakerT(FuncT)
Wraps invocations of asynchronous calls that need to be protected If this does not complete within the time allotted, it should return default(T)
Await.result(
    withCircuitBreaker(try Future.successful(body) catch { case NonFatal(t) ⇒ Future.failed(t) }),
    callTimeout)
Top
Extension Methods
See Also