Class: Quark::DatawireMdkMd::QuarkBehaviorsCircuitBreaker
- Inherits:
-
Object
- Object
- Quark::DatawireMdkMd::QuarkBehaviorsCircuitBreaker
- Extended by:
- DatawireQuarkCore::Static
- Defined in:
- lib/datawire_mdk_md.rb
Constant Summary
Constants included from DatawireQuarkCore::Static
DatawireQuarkCore::Static::Unassigned
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
- #construct(args) ⇒ Object
-
#initialize ⇒ QuarkBehaviorsCircuitBreaker
constructor
A new instance of QuarkBehaviorsCircuitBreaker.
- #isAbstract ⇒ Object
Methods included from DatawireQuarkCore::Static
_lazy_statics, static, unlazy_statics
Constructor Details
#initialize ⇒ QuarkBehaviorsCircuitBreaker
Returns a new instance of QuarkBehaviorsCircuitBreaker.
10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 |
# File 'lib/datawire_mdk_md.rb', line 10511 def initialize() super("quark.behaviors.CircuitBreaker") (self).name = "quark.behaviors.CircuitBreaker" (self).parameters = ::DatawireQuarkCore::List.new([]) (self).fields = ::DatawireQuarkCore::List.new([::Quark.quark.reflect.Field.new("quark.String", "id"), ::Quark.quark.reflect.Field.new("quark.int", "failureLimit"), ::Quark.quark.reflect.Field.new("quark.float", "retestDelay"), ::Quark.quark.reflect.Field.new("quark.bool", "active"), ::Quark.quark.reflect.Field.new("quark.int", "failureCount"), ::Quark.quark.reflect.Field.new("quark.concurrent.Lock", "mutex")]) (self).methods = ::DatawireQuarkCore::List.new([::Quark.datawire_mdk_md.quark_behaviors_CircuitBreaker_succeed_Method.new(), ::Quark.datawire_mdk_md.quark_behaviors_CircuitBreaker_fail_Method.new(), ::Quark.datawire_mdk_md.quark_behaviors_CircuitBreaker_onExecute_Method.new()]) (self).parents = ::DatawireQuarkCore::List.new(["quark.Object"]) nil end |
Instance Method Details
#__init_fields__ ⇒ Object
10561 10562 10563 10564 10565 10566 |
# File 'lib/datawire_mdk_md.rb', line 10561 def __init_fields__() super nil end |
#_getClass ⇒ Object
10540 10541 10542 10543 10544 10545 |
# File 'lib/datawire_mdk_md.rb', line 10540 def _getClass() return ::DatawireQuarkCore.cast(nil) { ::String } nil end |
#_getField(name) ⇒ Object
10547 10548 10549 10550 10551 10552 |
# File 'lib/datawire_mdk_md.rb', line 10547 def _getField(name) return nil nil end |
#_setField(name, value) ⇒ Object
10554 10555 10556 10557 10558 10559 |
# File 'lib/datawire_mdk_md.rb', line 10554 def _setField(name, value) nil nil end |
#construct(args) ⇒ Object
10526 10527 10528 10529 10530 10531 |
# File 'lib/datawire_mdk_md.rb', line 10526 def construct(args) return ::Quark.quark.behaviors.CircuitBreaker.new(::DatawireQuarkCore.cast((args)[0]) { ::String }, ::DatawireQuarkCore.cast((args)[1]) { ::Integer }, ::DatawireQuarkCore.cast((args)[2]) { ::Float }) nil end |
#isAbstract ⇒ Object
10533 10534 10535 10536 10537 10538 |
# File 'lib/datawire_mdk_md.rb', line 10533 def isAbstract() return false nil end |