Module: EventMachine::CircuitBreaker

Defined in:
lib/eventmachine/circuit_breaker.rb,
lib/eventmachine/circuit_breaker/breaker.rb,
lib/eventmachine/circuit_breaker/version.rb,
lib/eventmachine/circuit_breaker/rw_mutex.rb,
lib/eventmachine/circuit_breaker/strategy/basic.rb

Defined Under Namespace

Modules: Strategy Classes: Breaker, RWMutex

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.new(options = {}) ⇒ Object



8
9
10
# File 'lib/eventmachine/circuit_breaker.rb', line 8

def new(options = {})
  Breaker.new(options[:strategy])
end