Module: Hystrix

Extended by:
DSL
Defined in:
lib/hystrix/circuit.rb,
lib/hystrix.rb,
lib/hystrix/dsl.rb,
lib/hystrix/inline.rb,
lib/hystrix/command.rb,
lib/hystrix/configuration.rb,
lib/hystrix/executor_pool.rb

Overview

TODO: implement pluggable metrics collection. implement separate statsd impl

Defined Under Namespace

Modules: DSL Classes: Circuit, CircuitClosedError, Command, CommandExecutor, CommandExecutorPool, CommandExecutorPools, Configuration, ExecutorPoolFullError, InlineCommand, InlineDSL

Class Method Summary collapse

Methods included from DSL

configure, inline

Class Method Details

.resetObject



13
14
15
# File 'lib/hystrix.rb', line 13

def self.reset
	CommandExecutorPools.instance.shutdown
end